Re: [mod-lisp-devel] Re: [tbnl-devel] Odd behavior (socket leak)

17 Jul
2004
17 Jul
'04
11:07 p.m.
Hi Marc! On Sat, 17 Jul 2004 13:04:06 +0200, "Marc Battyani" <marc.battyani@fractalconcept.com> wrote:
in OpenLispSocket:
If there is a socket in cfg->LispSocket and that socket is not unsafe (cfg->UnsafeLispSocket) then I return this socket. I don't create a new one. Re-using the socket is much faster.
if (cfg->LispSocket) if (cfg->UnsafeLispSocket) { ap_pclosesocket(SocketPool, cfg->LispSocket); cfg->LispSocket = 0; cfg->UnsafeLispSocket = 0; } else return cfg->LispSocket;
Or did I mis-read your question ?
No, you didn't, it was just an oversight of mine. Sorry for the noise, Edi.
7602
Age (days ago)
7602
Last active (days ago)
0 comments
1 participants
participants (1)
-
Edi Weitz