Re: [PATCH] http server fixes

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

> On Wed, 2005-01-19 at 16:36 +0100, Alexander Malysh wrote:
>> Hi together,
> 
> Hi,
> 
>> - don't close listen filedescriptor when accept failed (that can be
>> caused bei client just now disconnected or network error)
>> - added 'active_list' that saves all active http clients and so while
>> shutdown all active clients can be disconnected gracefully (w/o fdset
>> warning about active entries) and when listen port removed all active
>> clients for this port could be disconnected
>> This active_list could be used later in order to implement keep alive
>> timeout.
> 
> Rock! :) I have a (cosmetic) comment about a comment :)

ok, fixed in my local copy... Thanks!

> 
>>         +            /* Implicite conn_unregister() and _destroy */
> 
>                           ^^^^^^^^ -> Implicit
> 
>>         +            if (conn_error(conn))
>>         +                goto error;
> 
> Looks great, and this is a _must_ for 1.4.1 I think.

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