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

fix(ext/node): http chunked writes hangs #24428

Merged
merged 3 commits into from
Jul 5, 2024

Conversation

littledivy
Copy link
Member

Fixes #24239

// @ts-ignore it's a socket mock
res.detachSocket(socket);
Copy link
Member

Choose a reason for hiding this comment

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

Is this test effected by the changes made in http.ts?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes

Copy link
Member

Choose a reason for hiding this comment

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

We have to soon address this issue. It might break serverless-http and serverless-express #22630

Copy link
Member Author

Choose a reason for hiding this comment

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

detachSocket is broken so i doubt it was working as expected. I've opened #24429

Copy link
Member

@satyarohith satyarohith left a comment

Choose a reason for hiding this comment

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

LGTM - there are conflicts that need to be resolved

@littledivy littledivy merged commit b290fd0 into denoland:main Jul 5, 2024
17 checks passed
@littledivy littledivy deleted the fix_node_chunked_hang branch July 5, 2024 03:22
zebreus pushed a commit to zebreus/deno that referenced this pull request Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

node:http module doesn't send chunked response
2 participants