Commit 1b25008
http: improve writeEarlyHints by avoiding for-of loop
PR-URL: #59958
Refs: https://github.com/nodejs/node/blob/main/doc/contributing/primordials.md#unsafe-array-iteration
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 6529ae9 commit 1b25008Copy full SHA for 1b25008
File tree
Expand file treeCollapse file tree
1 file changed
+3
-1
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+3
-1
lines changedOpen diff view settings
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
330 | 330 | |
331 | 331 | |
332 | 332 | |
333 | | - |
| 333 | + |
| 334 | + |
| 335 | + |
334 | 336 | |
335 | 337 | |
336 | 338 | |
|
0 commit comments