Browse Source

test: fix test-http-content-length

Previously the test did not allow the last request to complete.

Fixes: https://github.com/iojs/io.js/pull/1137
PR-URL: https://github.com/iojs/io.js/pull/1145
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Bert Belder <bertbelder@gmail.com>
v1.8.0-commit
Jeremiah Senkpiel 10 years ago
parent
commit
53e200acc2
  1. 2
      test/parallel/test-http-content-length.js

2
test/parallel/test-http-content-length.js

@ -18,7 +18,7 @@ var expectedHeadersEndNoData = {
}; };
var receivedRequests = 0; var receivedRequests = 0;
var totalRequests = 2; var totalRequests = 3;
var server = http.createServer(function(req, res) { var server = http.createServer(function(req, res) {
res.removeHeader('Date'); res.removeHeader('Date');

Loading…
Cancel
Save