@@ -55,10 +55,12 @@ server.listen(0, common.mustCall(() => {
|
55 | 55 | |
56 | 56 | sendDelayedRequestHeaders = common.mustCall(() => { |
57 | 57 | setTimeout(() => { |
58 | | -client.write('POST / HTTP/1.1\r\n'); |
59 | | -client.write('Content-Length: 20\r\n'); |
60 | | -client.write('Connection: close\r\n\r\n'); |
61 | | -client.write('12345678901234567890\r\n\r\n'); |
| 58 | +client.write( |
| 59 | +'POST / HTTP/1.1\r\n' + |
| 60 | +'Content-Length: 20\r\n' + |
| 61 | +'Connection: close\r\n\r\n' + |
| 62 | +'12345678901234567890\r\n\r\n' |
| 63 | +); |
62 | 64 | }, common.platformTimeout(headersTimeout * 2)).unref(); |
63 | 65 | }); |
64 | 66 | })); |