From: Zoltan F. <zol...@us...> - 2003-01-14 13:34:49
|
Martin Sjögren wrote: > I've just commited code that makes use of the cyclic GC API for e.g. > Connections and Contexts and I can no longer see any leaking while using > instance methods. Zoltan, can you run your tests with the CVS version? > > > /Martin hello, i,ve tested the CVS version, it works greatly for me (does not leak) even when the verify callback function is a class method. just a bit of another thing: i've fixed my real server, which served the clients in a loop of select/recv pairs, where only the first client was served at any one time even if the select call returned more than one readable sockets. the first client was always the server's socket on which it accepted new connections, so basically a test, which was a thousand clients connecting and then disconnecting, took the following order: a thousand client was connected, and just after that, when no new clients were connecting, were the clients disconnected from the server side. (if it is unclear, please let me know, i'll try to express myself more clearly). i do know, that this method (ie. not recv-ing from all the sockets the select returned is a BAD THING), and i will not return to that method again, but the clear text version of the server (without openssl) had no leak even in that case, while the openssl version did have leakage. if this information is useless, please disregard it. thanks for the help so far, zoltan |