| Summary: | Locking in HttpDestination blocks all requests to the same address | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Chris Dumoulin <chris> | ||||||
| Component: | client | Assignee: | Simone Bordet <simone.bordet> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | gregw, jetty-inbox | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 7.2.x | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Chris Dumoulin
Created attachment 192045 [details]
Patch for a proposed fix.
Created attachment 192046 [details]
Different diff format for proposed patch
I'm not sure about the diff format of my initial patch file (what's up with the exclamation marks). I created it using "diff -crB" based on some website's advice.
This new file is from an svn diff of the change I'm proposing (I've got a copy of the jetty source in a local subversion repo). If neither of these versions of the patch are acceptable, please let me know the proper way to provide a patch.
Simone, can you review the state of this issue. It may be that the changes I made to revert to an async connect may prevent the blocking anyway? We have enhanced the connect functionality to support blocking style and non blocking style with the SelectConnector, and the default is blocking. The SocketConnector can only do blocking connects. So I am reviewing the patch as we should really attempt to connect outside sync blocks. Patch applied with small changes only to variable names. |