Bug 60690 - Default values for "httpclient4.validate_after_inactivity" and "httpclient4.time_to_live" which are equal to each other makes validation useless
Summary: Default values for "httpclient4.validate_after_inactivity" and "httpclient4.t...
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 3.0
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
: 60957 (view as bug list)
Depends on:
Blocks: 60676
  Show dependency tree
 
Reported: 2017-02-04 14:31 UTC by Philippe Mouawad
Modified: 2017-04-06 11:12 UTC (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2017-02-04 14:31:39 UTC
Following report by user on mailing list:
http://mail-archives.apache.org/mod_mbox/jmeter-user/201702.mbox/%3CCABrgpQdsjHmkT90BqzJHZHzTHzrx3zeLu%2BPA0RN%3D%3DwhzM6bO8Q%40mail.gmail.com%3E

 
And related to Bug 60676, analysis shows that JMeter default values for 
"httpclient4.validate_after_inactivity" and "httpclient4.time_to_live" which are both equal are not correct as validation has no chance to run before connection is removed.
Comment 1 Philippe Mouawad 2017-02-04 14:40:21 UTC
Author: pmouawad
Date: Sat Feb  4 14:38:21 2017
New Revision: 1781674

URL: http://svn.apache.org/viewvc?rev=1781674&view=rev
Log:
Bug 60690 - Default values for "httpclient4.validate_after_inactivity" and "httpclient4.time_to_live" which are equal to each other makes validation useless
Bugzilla Id: 60690

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/protocol/http/org/apache/http/impl/conn/JMeterPoolingClientConnectionManager.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/properties_reference.xml
Comment 2 Philippe Mouawad 2017-02-04 14:40:31 UTC
Author: pmouawad
Date: Sat Feb  4 14:39:50 2017
New Revision: 1781675

URL: http://svn.apache.org/viewvc?rev=1781675&view=rev
Log:
Bug 60689 - "httpclient4.validate_after_inactivity" has no impact leading to usage of potentially stale/closed connections
Document better property
Bugzilla Id: 60689

Modified:
    jmeter/trunk/xdocs/usermanual/properties_reference.xml
Comment 3 Philippe Mouawad 2017-04-06 11:12:39 UTC
*** Bug 60957 has been marked as a duplicate of this bug. ***
Comment 4 The ASF infrastructure team 2022-09-24 20:38:07 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4266