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 ccf7a1d commit c355248Copy full SHA for c355248
benchmarks/server.js
@@ -25,13 +25,13 @@ if (cluster.isPrimary) {
25
} else {
26
const buf = Buffer.alloc(64 * 1024, '_')
27
28
- const headers = {
29
- 'Content-Length': `${buf.byteLength}`,
30
- 'Content-Type': 'text/plain; charset=UTF-8'
31
- }
+ // const headers = {
+ // 'Content-Length': `${buf.byteLength}`,
+ // 'Content-Type': 'text/plain; charset=UTF-8'
+ // }
32
let i = 0
33
function respond (res) {
34
- res.writeHead(200, headers)
+ // res.writeHead(200, headers)
35
res.end(buf)
36
}
37
const server = createServer((_req, res) => {
0 commit comments