Bug 60652 - PUT might leak file descriptors
Summary: PUT might leak file descriptors
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 3.1
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-26 19:00 UTC by Felix Schumacher
Modified: 2017-01-26 19:33 UTC (History)
0 users



Attachments
Close files after reading them (1.57 KB, patch)
2017-01-26 19:00 UTC, Felix Schumacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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