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

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Fri May 8 13:17:49 EDT 2009


On Fri, 2009-05-08 at 09:44 -0500, Peter Erickson wrote:
> 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).

That is a bug. Can you please enter it in bugzilla and assign it to me?
I'll take care of it as soon as I can.

-Gonzalo




More information about the Mono-devel-list mailing list