DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36791>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36791 Summary: HttpConnection isOpen flag concurrency problem Product: HttpClient Version: 3.0 RC3 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Commons HttpClient AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] The HttpConnection.java class contains an isOpen boolean used to track the state of the connection (opened or closed). The problem is that in the closeSocketAndStreams(), the flag is only flipped at the end of the unsynchronized method (after resources have been released) which causes a concurrency issue in flushRequestOutputStream() where the flag is checked first and the the outputStream is accessed. I'm providing a patch for this problem. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
