https://issues.apache.org/bugzilla/show_bug.cgi?id=50551

--- Comment #2 from Olivier BOËL <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to