JDK-4242616 : HTTP URLConnection does not retry POST correctly (re-open 4099926)
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.1.7,1.3.0,1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows_nt,windows_2000
  • CPU: generic,x86
  • Submitted: 1999-05-30
  • Updated: 2004-09-15
  • Resolved: 2000-06-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other Other
1.3.0_04 04Fixed 1.3.1_01Fixed 1.4.0Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description

Name: krT82822			Date: 05/30/99


If a POST (URL + data) request on a HTTP URLConnection times out, the URLConnection retries the request, but does not resend the data.

This Bug was reported as Bug Id 4099926 before, but was closed as duplicate of 4115928. Bug 4115928 (createImage shouldn't just return null when peer isn't created) has nothing to do with bug  4099926 though.

Please review this problem.
(Review ID: 83661) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.3.0_04 1.3.1_01 merlin-beta FIXED IN: 1.3.0_04 1.3.1_01 merlin-beta INTEGRATED IN: 1.3.0_04 1.3.1_01 merlin-beta VERIFIED IN: 1.3.0_04 1.3.1_01a
15-09-2004

EVALUATION Found the problem. Indeed when HttpClient.parseHttp() retries a post after a single failure it doesn't send the "Content" of the post because it doesn't have access to it (It's only available to HttpUrlConnection).
15-09-2004

PUBLIC COMMENTS CTE verified it worked fine in jdk1.3.0_04. There are still 16 known failures. http://andorra.eng:8080/cgi-bin/ws.exe/bugtraq/jdk/bug.hts?bugid_value=4389845
15-09-2004