Commit 182c73b
committed
http2: switch to new runtime-controlled debugging system
Remove `--debug-http2` as a compile-time feature and
make all debug statements available using `NODE_DEBUG_NATIVE=http2`
at runtime.
This probably makes the debugging-enabled case a bit slower due to
additional string concatenations, but switching to a runtime-checking
system makes debugging more flexible and can be applied more easily
to other parts of the source code as well.
PR-URL: #20987
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 45eeea4 commit 182c73bCopy full SHA for 182c73b
File tree
Expand file treeCollapse file tree
6 files changed
+115
-154
lines changedOpen diff view settings
Filter options
- src
- test/parallel
Expand file treeCollapse file tree
6 files changed
+115
-154
lines changedOpen diff view settings
Collapse file
-10Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
443 | 443 | |
444 | 444 | |
445 | 445 | |
446 | | - |
447 | | - |
448 | | - |
449 | | - |
450 | | - |
451 | 446 | |
452 | 447 | |
453 | 448 | |
| ||
970 | 965 | |
971 | 966 | |
972 | 967 | |
973 | | - |
974 | | - |
975 | | - |
976 | | - |
977 | | - |
978 | 968 | |
979 | 969 | |
980 | 970 | |
|
Collapse file
-4Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
90 | 90 | |
91 | 91 | |
92 | 92 | |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | 93 | |
98 | 94 | |
99 | 95 | |
|
0 commit comments