{"action":"closed","issue":{"url":"https://api.github.com/repos/joeferner/node-http-mitm-proxy/issues/56","repository_url":"https://api.github.com/repos/joeferner/node-http-mitm-proxy","labels_url":"https://api.github.com/repos/joeferner/node-http-mitm-proxy/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/joeferner/node-http-mitm-proxy/issues/56/comments","events_url":"https://api.github.com/repos/joeferner/node-http-mitm-proxy/issues/56/events","html_url":"https://github.com/joeferner/node-http-mitm-proxy/issues/56","id":130765318,"number":56,"title":"Request timeout after 2min","user":{"login":"felicienfrancois","id":988144,"avatar_url":"https://avatars.githubusercontent.com/u/988144?v=3","gravatar_id":"","url":"https://api.github.com/users/felicienfrancois","html_url":"https://github.com/felicienfrancois","followers_url":"https://api.github.com/users/felicienfrancois/followers","following_url":"https://api.github.com/users/felicienfrancois/following{/other_user}","gists_url":"https://api.github.com/users/felicienfrancois/gists{/gist_id}","starred_url":"https://api.github.com/users/felicienfrancois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicienfrancois/subscriptions","organizations_url":"https://api.github.com/users/felicienfrancois/orgs","repos_url":"https://api.github.com/users/felicienfrancois/repos","events_url":"https://api.github.com/users/felicienfrancois/events{/privacy}","received_events_url":"https://api.github.com/users/felicienfrancois/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-02T18:03:39Z","updated_at":"2016-02-02T18:07:59Z","closed_at":"2016-02-02T18:07:59Z","body":"Currently requests timeout after 2min of inactivity\r\nThis is due to nodejs [http & https servers default timeout](https://nodejs.org/api/http.html#http_server_timeout)\r\n\r\nThis may be an issue in some cases.\r\nFor example in case of a request upgraded to websocket. WebSocket connection does not timeout by default and some websocket servers does not have any timeout. In such case, the websocket connection is unexpectedly closed after 2min of inactivity.\r\n\r\nThe proxy should not enforce any timeout by default and rely on the server instead."}}