Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmeasday/npm-request-hang
https://github.com/tmeasday/npm-request-hang
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmeasday/npm-request-hang
- Owner: tmeasday
- Created: 2015-05-06T07:12:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-07T05:45:55.000Z (over 9 years ago)
- Last Synced: 2024-10-25T18:58:41.751Z (3 months ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reproduction of request piping issue.
To reproduce [*], do the following.
1. `npm install`
2. `node pipe.js`
3. `curl "http://$HOST:8081" > /dev/null` [from an external host]
4. ctrl-c to kill the above BEFORE it finishes downloading
5. repeat step 3. Note it times out.Note that manually killing the input stream when the output stream closes fixes the issue.
[*] Problem has been observed on Ubuntu 14.04 running on AWS. Doesn't seem to occur on OS X 10.10 (requests seem to end after around 1 min).