We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce237f3 commit 75794ddCopy full SHA for 75794dd
test/compression.js
@@ -324,9 +324,11 @@ describe('compression()', function () {
324
})
325
request.on('response', function (headers) {
326
assert.equal(headers['content-encoding'], 'gzip')
327
- client.close(function () {
328
- server.close(function () {
329
- done()
+ request.close(http2.constants.NGHTTP2_NO_ERROR, function () {
+ client.close(function () {
+ server.close(function () {
330
+ done()
331
+ })
332
333
334
0 commit comments