jira-importer opened a new issue, #966:
URL: https://github.com/apache/httpcomponents-core/issues/966

   
**[jd](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=j1234d2003)**
 opened 
**[HTTPCORE-355](https://issues.apache.org/jira/browse/HTTPCORE-355?redirect=false)**
 and commented
   
   HttpAsyncRequestExecutor.requestReady incorrectly attempts to process a null 
HTTPRequest returned by HttpAsyncClientExchangeHandler.generateRequest when 
HttpAsyncClientExchangeHandler is not ready to do so. Instead, it should return 
back and let DefaultNHttpClientConnection.produceOutput clear WRITE, thereby 
allowing HttpAsyncClientExchangeHandler to wait generating the request when it 
is indeed ready to do so.
   
   This is necessary for usecases when there are more than one connections 
involved and it is necessary to block this connection until data becomes 
available on other.
   
   Refer Code: org.apache.http.nio.protocol.HttpAsyncRequestExecutor
   Line: 146, Add if (request == null) return;
   Version: httpcore-nio, 4.3
   
   
   ---
   
   **Affects:** 4.3
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to