httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Catel...@lya.eu>
Subject Re: [users@httpd] mod_proxy_http persistant connection issue
Date Sat, 23 May 2009 16:55:05 GMT
André Warnier a écrit :
> Anthony Catel wrote:
> ...
>>
>> But if the client hand-up, the read() loop (of the client) will return.
>> So Apache know that the client is disconnected. Why Apache doesn't
>> shutdown the socket to the proxied server when this happen ?
>>
> Sorry, I was only loosely following this thread.
> If indeed, at the time of the problem, Apache is reading from the
> client, it will notice that the client socket is closed at its next
> read().  And I am sure it will then close the connection to the
> proxied-to server also.
> I thought the problem was that Apache sent the request to the
> proxied-to server, and was waiting for that server to provide a response.
> In that last case, it will not notice that the client is gone, before
> the connection with the proxied-to server times out, and it tries to
> send some error to the client.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
So if the proxied server never close the connection Apache will have a
ghost connection during "ProxyTimeout value" seconds. It's annoying :p




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message