Compare commits
6 Commits
socket-timeout
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| cd697901d1 | |||
| 934f110003 | |||
| 9e359bbc00 | |||
| ca7bd49cd6 | |||
| 8998953efd | |||
| e53322af5a |
+4
-1
@@ -6,7 +6,10 @@ browsers:
|
|||||||
- name: firefox
|
- name: firefox
|
||||||
version: -2..latest
|
version: -2..latest
|
||||||
- name: safari
|
- name: safari
|
||||||
version: 8..latest
|
version: [8..10, 12..latest]
|
||||||
|
- name: safari
|
||||||
|
version: 11
|
||||||
|
platform: Mac 10.13 # Configure separately due to https://github.com/airtap/sauce-browsers/issues/3
|
||||||
- name: MicrosoftEdge
|
- name: MicrosoftEdge
|
||||||
version: -2..latest
|
version: -2..latest
|
||||||
- name: ie
|
- name: ie
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# stream-http [](https://travis-ci.org/jhiesey/stream-http)
|
# stream-http [](https://travis-ci.org/jhiesey/stream-http)
|
||||||
|
|
||||||
[](https://saucelabs.com/u/stream-http)
|
[](https://app.saucelabs.com/u/stream-http)
|
||||||
|
|
||||||
This module is an implementation of Node's native `http` module for the browser.
|
This module is an implementation of Node's native `http` module for the browser.
|
||||||
It tries to match Node's API and behavior as closely as possible, but some features
|
It tries to match Node's API and behavior as closely as possible, but some features
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ var IncomingMessage = exports.IncomingMessage = function (xhr, response, mode, r
|
|||||||
self.push(null)
|
self.push(null)
|
||||||
},
|
},
|
||||||
abort: function (err) {
|
abort: function (err) {
|
||||||
|
resetTimers(true)
|
||||||
if (!self._destroyed)
|
if (!self._destroyed)
|
||||||
self.emit('error', err)
|
self.emit('error', err)
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "stream-http",
|
"name": "stream-http",
|
||||||
"version": "3.1.1",
|
"version": "3.2.0",
|
||||||
"description": "Streaming http in the browser",
|
"description": "Streaming http in the browser",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user