Skip to content

Commit

Permalink
dummyserver.js: /endAfterHeaders: really don't send any response entity
Browse files Browse the repository at this point in the history
fixes this spec on Firefox 34:
"err" argument in "finished" callback
 - is set to Error("network error") when connection ends after sending headers (same-origin)
  • Loading branch information
jakutis committed Mar 7, 2015
1 parent 5078091 commit 07ae722
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dummyserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ var listen = function (req, res) {
entityHeaders(headers);
corsHeaders(headers, req);
res.writeHead(200, headers);
res.write(new Buffer('test'));
req.socket.destroy();
} else if(req.url === req.proxyPath + '/big') {
bigHello(req, res, 10);
Expand Down

0 comments on commit 07ae722

Please sign in to comment.