[Mono-dev] HttpConnection not unregistering HttpListenerContext when KeepAlive is true

Peter Erickson petee at mindtouch.com
Fri May 8 10:44:23 EDT 2009


Hi - I have a question regarding the way HttpConnection behaves when  
Keep Alive is enabled.  If response.KeepAlive is true (the default),  
and therefore no Conenction: close header is sent, HttpConnection  
doesn't call epl.UnbindContext(context).  This causes  
HttpListenerContext instances to pile up (and hold onto memory) until  
the HttpListener is shut down.

Is this the desired behavior when using KeepAlive?  Note, this  
behavior changed in r115250 (bug 433371).

Thanks,
pete



More information about the Mono-devel-list mailing list