Re: [PATCH] http client timeouts part1 (v2)

Yury Mikhienko <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Mobicom-Kavkaz
Message-ID <[email protected]>
On Tue, 02 Nov 2004 01:25:12 +0100
Alexander Malysh <[email protected]> wrote:

> 
> second version of this patch (fixed double free bug).
> 
> Alexander Malysh wrote:
> 
> > Hi,
> > 
> > attached you can find path that fixes a problem with dead connections in
> > http client connection pool. It's only a first part of fixes that we need
> > (we still need to kill inactive connection after timeout expired).
> > 
> > How it works is simple:
> > 1) before putting connection into connection pool register dummy callback
> > 2) if dummy callback called (we will receive error poll event) check if
> > connection still ok and if not destroy it
> > 3) before return connection from pool, unregister dummy callback
> > 
> > Comments/votes please!
> > 
> 
> -- 
> Thanks,
> Alex

Does this patch solve the problem with dead connections to http (http-proxy) against the patch from Vjacheslav?
We can test it under a huge load.

-- 
 
Best regards,
Yury Mikhienko.
IT ERP group head, ZAO "Mobikom-Kavkaz"
tel: (8632) 704188
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.