Skip to content
This repository was archived by the owner on Jul 15, 2022. It is now read-only.

Conversation

@alangecker
Copy link
Contributor

pipelining the request directly into stdin solves for me following problem with uploading larger files:
https://stackoverflow.com/questions/21388363/getting-econnreset-on-child-stdin-write


synchronous calls block the entire node process until the response is there, meaning that no other http request can be handled until it got the results for fs.existsSync() & fs.statSync()
now async & removed the unnecessary fs.exists()-check ( fs.stat() does both)

@mkschreder
Copy link
Owner

Let's hope it works then. Merging it without testing.

mkschreder added a commit that referenced this pull request Dec 31, 2015
Pipelining for php.stdin and non-blocking filesystem calls
@mkschreder mkschreder merged commit 02277df into mkschreder:master Dec 31, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants