Download: Stable · Snapshot | Docs | Changes | Wishlist
Currently PuTTY uses a single
Config) containing a bunch of fixed-length buffers to
store its configuration. This leads to problems such as
limited space for port forwardings.
It should clearly be replaced with a structure containing references
to allocated storage.
This isn't entirely trivial, which is probably the main reason we haven't done it yet:
Configneeds to be duplicated intra-process, a structure copy is usually by and large adequate, with occasional grotty fixing-up of pointers. Similar issues apply to construction and destruction. We'd need to replace this with proper suite of object housekeeping functions.
structover to another process and crossing our fingers. This is obviously icky, and clearly won't be sufficient when there are more pointers around.