| Summary: | Investigate uplift of TestSuites to Apache HttpClient 4.1.x | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] Lyo | Reporter: | Michael Fiedler <fiedler.mf> | ||||||
| Component: | TestSuite | Assignee: | Michael Fiedler <fiedler.mf> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | sspeiche | ||||||
| Version: | unspecified | Flags: | sspeiche:
review+
|
||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Michael Fiedler
Created attachment 205812 [details]
Update Apache httpclient to 4.1.1. Consume response correctly in event of error.
I wrote all this code and have the rights to contribute it to Eclipse under the eclipse.org web site terms of use
The attached patch allows SimplifiedQueryXmlTests to continue in event of error. It fixes the "Incorrect use of SingleClientConnManager" error subsequent tests would get due to improperly closed connections. Going to make an additional change to hit all usage of the deprecated HttpEntity#consumeContent method. The current patch fixes the specific issue with leaked connections but we should use the new EntityUtils#consumeContent everywhere. Created attachment 205831 [details]
Replace use of deprecated http client API
Committed http://git.eclipse.org/c/lyo/org.eclipse.lyo.testsuite.git/commit/?id=398d434621e15f3e384b55ef54ccbca80b41f7e2 http://git.eclipse.org/c/lyo/org.eclipse.lyo.testsuite.git/commit/?id=1728bc910b31abcfa36e7900ca8cc3440d5224b7 Bulk update: Closing out Lyo bugs fixed long ago. Feel free to reopen if you feel your bug was closed in error. |