{"issue":{"created_at":"2011-12-05T15:38:19Z","state":"open","updated_at":"2011-12-05T15:38:19Z","comments":0,"user":{"gravatar_id":"0dfd2146f568be1016d5548e0b69222c","id":355800,"url":"https://api.github.com/users/diversario","avatar_url":"https://secure.gravatar.com/avatar/0dfd2146f568be1016d5548e0b69222c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"diversario"},"body":"request 2.2.9\r\n\r\nI'm streaming video and when a browser requests a video and then aborts the request I get this:\r\n\r\n```\r\nnet.js:197\r\n  this._handle.readStop();\r\n               ^\r\nTypeError: Cannot call method 'readStop' of null\r\n    at Socket.pause (net.js:197:16)\r\n    at IncomingMessage.pause (http.js:254:15)\r\n    at Request.pause (/node_modules/request/main.js:549:23)\r\n    at Request.ondata (stream.js:39:16)\r\n    at Request.emit (events.js:67:17)\r\n    at IncomingMessage.<anonymous> (/node_modules/request/main.js:419:16)\r\n    at IncomingMessage.emit (events.js:67:17)\r\n    at HTTPParser.onBody (http.js:115:23)\r\n    at Socket.ondata (http.js:1125:24)\r\n    at TCP.onread (net.js:334:27)\r\n```\r\n\r\nAlso happens seemingly random when requesting a new video.\r\nStreaming is done by saying `request.get(video).pipe(res);`.","assignee":null,"number":126,"id":2450560,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Throws when aborting the request","closed_at":null,"html_url":"https://github.com/mikeal/request/issues/126","url":"https://api.github.com/repos/mikeal/request/issues/126","milestone":null},"action":"opened"}