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

   **[Steffen 
Pingel](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=spingel)** 
opened 
**[HTTPCORE-45](https://issues.apache.org/jira/browse/HTTPCORE-45?redirect=false)**
 and commented
   
   I have a simple server implementation that uses DefaultServerIOEventDispatch 
and BufferingHttpServiceHandler. Pipelined requests can cause an exception when 
DefaultNHttpServerConnection receives another request while still processing 
the response to a previous request:
   
   org.apache.http.HttpException: Response already submitted
   at 
org.apache.http.impl.nio.DefaultNHttpServerConnection.submitResponse(DefaultNHttpServerConnection.java:162)
   at 
org.apache.http.nio.protocol.BufferingHttpServiceHandler.commitResponse(BufferingHttpServiceHandler.java:369)
   at 
org.apache.http.nio.protocol.BufferingHttpServiceHandler.processRequest(BufferingHttpServiceHandler.java:358)
   at 
org.apache.http.nio.protocol.BufferingHttpServiceHandler.requestReceived(BufferingHttpServiceHandler.java:167)
   at 
org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:97)
   at 
org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(DefaultServerIOEventDispatch.java:77)
   [...]
   
   
   ---
   
   **Attachments:**
   - 
[httpcomponents-nio-pipelining-fix.txt](https://issues.apache.org/jira/secure/attachment/12350965/httpcomponents-nio-pipelining-fix.txt)
 (_943 bytes_)
   


-- 
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