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

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Yury Mikhienko wrote:

> 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.
> 

yes, this patch should solve _only_ the problem with dead connections
(CLOSE_WAIT state)... If you can test this patch under a huge load, that
would be great.

-- 
Thanks,
Alex
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.