Re: rfc - ``httpd'' patch

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization The Kannel Group
Message-ID <[email protected]>
Ilan Aelion wrote:

> Hi all, 
> 
> I encountered some problems using gwlib httpd features. In particular, gwlib 
> will PANIC when the open file limit is exceeded, which is not acceptable for 
> many applications. 

can you please point out under which scenarios this is determined?

> Here's a patch that seems to help. 
> 
> And here's the question: I've added a few retries with a sleep in between in 
> put_port_request in http.c. 
> 
> * Is there really a point in retrying? 
> * Is there really a point in sleeping?
> * would it be better to just skip failed requests immediately without 
> retrying?

retry'ing on the server side?

what is the scenario of the patch? receiving HTTP clients "before" having 
port_collection dict filled with the required keys and hence unable to serve the 
request?

At least this is how I "read" the patch.

Stipe

mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------
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.