httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50551] Some proxied connections ignore ttl setting
Date Wed, 12 Jan 2011 15:15:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50551

--- Comment #2 from Olivier BO√čL <olivier.boel@europarl.europa.eu> 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.

Great!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message