Re: mod_proxy_http persistant connection issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux