You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Anand Mazumdar (JIRA)" <ji...@apache.org> on 2016/12/09 20:37:58 UTC

[jira] [Created] (MESOS-6769) The server does not close it's end of the connection after returning a response to a streaming request.

Anand Mazumdar created MESOS-6769:
-------------------------------------

             Summary: The server does not close it's end of the connection after returning a response to a streaming request.
                 Key: MESOS-6769
                 URL: https://issues.apache.org/jira/browse/MESOS-6769
             Project: Mesos
          Issue Type: Bug
            Reporter: Anand Mazumdar


Consider this scenario, 
- The client starts to send a streaming request to the agent with the {{Connection: close}} header set. This means that the client is relying on the server to close it's end of the connection after sending the response.
- If the request failed on the server i.e., some validation errors. The server sends the response but does not close it's end of the socket.
- Some client libraries e.g., Python Requests rely on the server to close its end of the socket after sending the response. Otherwise, the connection just hangs on the client when it has no more streaming data to send in such cases.

Libprocess should close its end of the 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)