I've some minor bug fixes to PseudoTCP that I hope you guys are willing to commit to the repository. The things I've fixed are:
* Prevent multiple executions of Agent.free() on the same instance (since free() can be called by an external object as well as by finalize().
* Fixed a NullPointerException that occurred for instance when an SSLSocket called getTcpNoDelay() on PseudoTCPSocket. PseudoTcpSocketImpl returned null but the SSLSocket assumed it would be true/false.
* Improved logging to better detect if someone is trying to get some other option that would return null.
Patch-2013-03-22.patch (2.97 KB)