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 stuck when using http2 POST Buffer #2336

Merged
merged 3 commits into from
Oct 11, 2023
Merged
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
test: ✅ remove debug log
  • Loading branch information
binsee committed Oct 11, 2023
commit 338ee421d1cc9736e0e81102651d0db902f4ada6
2 changes: 0 additions & 2 deletions test/http2.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,11 @@ test('Should support H2 connection(POST Buffer)', async t => {

const sendBody = 'hello!'
const body = []
console.log(`before request ${sendBody}`)
const response = await client.request({
path: '/',
method: 'POST',
body: sendBody
})
console.log(`after request ${sendBody}`)

response.body.on('data', chunk => {
body.push(chunk)
Expand Down
Loading