Use a shared function, for..in instead of Object.keys, do less work in `setHeader` and instead defer some of it until later, and other minor changes to improve clarity, as well as a slight boost in performance. PR-URL: https://github.com/nodejs/node/pull/20250 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
|---|---|---|
| .. | ||
| _chunky_http_client.js | ||
| bench-parser.js | ||
| check_invalid_header_char.js | ||
| check_is_http_token.js | ||
| chunked.js | ||
| client-request-body.js | ||
| cluster.js | ||
| create-clientrequest.js | ||
| end-vs-write-end.js | ||
| headers.js | ||
| http_server_for_chunky_client.js | ||
| set-header.js | ||
| set_header.js | ||
| simple.js | ||
| upgrade.js | ||