{"action":"opened","issue":{"url":"https://api.github.com/repos/kevinkreiser/prime_server/issues/10","labels_url":"https://api.github.com/repos/kevinkreiser/prime_server/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/kevinkreiser/prime_server/issues/10/comments","events_url":"https://api.github.com/repos/kevinkreiser/prime_server/issues/10/events","html_url":"https://github.com/kevinkreiser/prime_server/issues/10","id":73025656,"number":10,"title":"let the response determine whether or not to close the connection to the client","user":{"login":"kevinkreiser","id":697548,"avatar_url":"https://avatars.githubusercontent.com/u/697548?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinkreiser","html_url":"https://github.com/kevinkreiser","followers_url":"https://api.github.com/users/kevinkreiser/followers","following_url":"https://api.github.com/users/kevinkreiser/following{/other_user}","gists_url":"https://api.github.com/users/kevinkreiser/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinkreiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinkreiser/subscriptions","organizations_url":"https://api.github.com/users/kevinkreiser/orgs","repos_url":"https://api.github.com/users/kevinkreiser/repos","events_url":"https://api.github.com/users/kevinkreiser/events{/privacy}","received_events_url":"https://api.github.com/users/kevinkreiser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-04T13:57:42Z","updated_at":"2015-05-04T13:57:42Z","closed_at":null,"body":"right now we have the server hardcoded to always close the connection after the response is sent. from stack overflow:\r\n\r\n    In HTTP 0.9, the server always closes the connection after sending the response. The client must close its end of the connection after receiving the response.\r\n\r\n    In HTTP 1.0, the server always closes the connection after sending the response UNLESS the client sent a Connection: keep-alive request header and the server sent a Connection: keep-alive response header. If no such response header exists, the client must close its end of the connection after receiving the response.\r\n\r\n    In HTTP 1.1, the server does not close the connection after sending the response UNLESS the client sent a Connection: close request header, or the server sent a Connection: close response header. If such a response header exists, the client must close its end of the connection after receiving the response.\r\n\r\n\r\nso apprently we are .9 compliant but thats just not going to fly. we should fix that"}}