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 a67d942 commit c70118fCopy full SHA for c70118f
test/parallel/test-http-highwatermark.js
@@ -1,6 +1,5 @@
1
'use strict';
2
const common = require('../common');
3
-const assert = require('assert');
4
const net = require('net');
5
const http = require('http');
6
@@ -9,8 +8,6 @@ const http = require('http');
9
8
// to be paused and res.write would be failed.
10
// And it should be resumed when outgoingData falls below highWaterMark.
11
12
-let requestReceived = 0;
13
-
14
const server = http.createServer(common.mustNotCall()).on('listening', () => {
15
const c = net.createConnection(server.address().port, () => {
16
c.write('GET / HTTP/1.1\r\n\r\n');
0 commit comments