Bug 60652

Summary: PUT might leak file descriptors
Product: JMeter - Now in Github Reporter: Felix Schumacher <felix.schumacher>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Close files after reading them

Description Felix Schumacher 2017-01-26 19:00:27 UTC
Created attachment 34683 [details]
Close files after reading them

When using httpclient 4 with PUT as request method and a file as body, JMeter will leak file descriptors.

The attached patch fixes this.
Comment 1 Felix Schumacher 2017-01-26 19:33:53 UTC
Date: Thu Jan 26 19:33:21 2017
New Revision: 1780442

URL: http://svn.apache.org/viewvc?rev=1780442&view=rev
Log:
PUT might leak file descriptors.

Bugzilla Id: 60652

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:38:07 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4250