Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http_server: fix resume after socket close #2824

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
...
  • Loading branch information
indutny committed Sep 11, 2015
commit 5fe0449408780f08bba4d4ec6708c162d63e4268
1 change: 1 addition & 0 deletions test/parallel/test-http-regr-gh-2821.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ server.listen(common.PORT, function() {
});

const payload = new Buffer(16390);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fill it with something, please? I would prefer if random memory regions were not passed through the network stack, even in the harmless tests.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you go, not sure how relevant it was, though ;)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same applies to other tests — some of them fill buffers, some don't. But that is out of scope for now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@indutny Thanks!

payload.fill('Й');
req.write(payload);
req.end();
});