httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50551] Some proxied connections ignore ttl setting
Date Wed, 12 Jan 2011 15:15:49 GMT

--- Comment #2 from Olivier BO√čL <> 2011-01-12 10:15:47
EST ---
My mistake : I was expecting Apache to close automatically the connection after
5 seconds, but, looking at apr_reslist.h, I read :
 * @param ttl If non-zero, sets the maximum amount of time in microseconds an
 *            unused resource is valid.  Any resource which has exceeded this
 *            time will be destroyed, either when encountered by
 *            apr_reslist_acquire() or during reslist maintenance.
Indeed, I observed that :
1. if 2 requests are received in less than ttl seconds, Apache re-uses the
existing connection
2. if there are more than ttl seconds between 2 requests, Apache closes the
established connection and creates a new one

So, ttl works as expected.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message