Incorrectly referenced a pointer, which broke compilation.
Thread release and clean up now works well which means an applications exit can now function cleanly and therefore memory leak tracking becomes more straight forward.
Can easily enable or disable debugging symbols via the loving script.
Ensured that is the socket descriptor map returns false, it does not create a socketDestroy task.
Corrected a new delete mismatch
Correctly deleted array object if auto_release is set. the auto_release feature may be a bit misguided and troublesome. Will have to think that one through in the future.
Corrected a bug in the socket send method, which could lead to a dead lock or only partial data being sent.
When destroying a thread it was not necessarily joined and therefore created a memory leak. Seems to have been corrected.
Added the const keyword to some operator functions of the String class, slipped my mind before.
Added a timer to the Listener to invoke socket event object clean up. In most cases the listener owns the thread that runs the event base and these object must be freed from the same thread as the event_base or there will probably be a race condition.
Completely rewrote the socket releasing mechanism. This was complex due to the event structures that had to be released on the base event thread and at the same time it had to be ensured it was not released twice, with no reliable mechanism in c++ to check the validity of objects mixed in with a multi-threading environment, it became a nightmare. Should work better now.
Regular Expression class added, swell as a few minor changes in other classes.
The socket class now has some easy helper functions to get local and remote address info.
Unnecessarily use sa_len in sockaddr which is not as portable as I had hoped.
The socket class is much more stable, simplified the DescritproInstanceMap class and removed some redundant code that slipped in, in the Listener class.
Fixed a few compiler warnings
Simplified a lot of the memory management in several classes under encryption, sockets and serialisation.
Some improvements on the encryption classes.
Simplified subBytes method in the ByteArray class.