Skip to content

Commit c355248

Browse files
committed
maybe fix
1 parent ccf7a1d commit c355248

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

benchmarks/server.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ if (cluster.isPrimary) {
2525
} else {
2626
const buf = Buffer.alloc(64 * 1024, '_')
2727

28-
const headers = {
29-
'Content-Length': `${buf.byteLength}`,
30-
'Content-Type': 'text/plain; charset=UTF-8'
31-
}
28+
// const headers = {
29+
// 'Content-Length': `${buf.byteLength}`,
30+
// 'Content-Type': 'text/plain; charset=UTF-8'
31+
// }
3232
let i = 0
3333
function respond (res) {
34-
res.writeHead(200, headers)
34+
// res.writeHead(200, headers)
3535
res.end(buf)
3636
}
3737
const server = createServer((_req, res) => {

0 commit comments

Comments
 (0)