Commit 4d4fb51
http2: report sent headers object in client stream dcs
This change improves diagnosis by reporting the headers object that is
actually sent rather than the original input headers in the following
diagnostics channels:
- 'http2.client.stream.created'
- 'http2.client.stream.start'
Signed-off-by: Darshan Sen <raisinten@gmail.com>
PR-URL: #59419
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 162ac93 commit 4d4fb51Copy full SHA for 4d4fb51
File tree
Expand file treeCollapse file tree
3 files changed
+63
-12
lines changedOpen diff view settings
Filter options
- lib/internal/http2
- test/parallel
Expand file treeCollapse file tree
3 files changed
+63
-12
lines changedOpen diff view settings
Collapse file
+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
752 | 752 | |
753 | 753 | |
754 | 754 | |
755 | | - |
| 755 | + |
756 | 756 | |
757 | 757 | |
758 | 758 | |
| ||
814 | 814 | |
815 | 815 | |
816 | 816 | |
817 | | - |
| 817 | + |
818 | 818 | |
819 | 819 | |
820 | 820 | |
| ||
1894 | 1894 | |
1895 | 1895 | |
1896 | 1896 | |
1897 | | - |
| 1897 | + |
1898 | 1898 | |
1899 | 1899 | |
1900 | 1900 | |
| ||
1912 | 1912 | |
1913 | 1913 | |
1914 | 1914 | |
1915 | | - |
| 1915 | + |
1916 | 1916 | |
1917 | 1917 | |
1918 | 1918 | |
|
Collapse file
test/parallel/test-diagnostics-channel-http2-client-stream-created.js
Copy file name to clipboardExpand all lines: test/parallel/test-diagnostics-channel-http2-client-stream-created.js+29-4Lines changed: 29 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
| 21 | + |
| 22 | + |
| 23 | + |
21 | 24 | |
22 | 25 | |
23 | 26 | |
24 | 27 | |
25 | 28 | |
26 | 29 | |
27 | 30 | |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
28 | 53 | |
29 | 54 | |
30 | 55 | |
31 | 56 | |
32 | 57 | |
33 | 58 | |
34 | 59 | |
35 | | - |
| 60 | + |
36 | 61 | |
37 | 62 | |
38 | 63 | |
39 | 64 | |
40 | 65 | |
41 | 66 | |
42 | | - |
| 67 | + |
43 | 68 | |
44 | 69 | |
45 | | - |
| 70 | + |
46 | 71 | |
47 | 72 | |
48 | 73 | |
49 | 74 | |
50 | | - |
| 75 | + |
51 | 76 | |
52 | 77 | |
53 | 78 | |
|
Collapse file
test/parallel/test-diagnostics-channel-http2-client-stream-start.js
Copy file name to clipboardExpand all lines: test/parallel/test-diagnostics-channel-http2-client-stream-start.js+30-4Lines changed: 30 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
| 21 | + |
| 22 | + |
| 23 | + |
21 | 24 | |
22 | 25 | |
23 | 26 | |
24 | 27 | |
25 | 28 | |
26 | 29 | |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
27 | 53 | |
28 | 54 | |
29 | 55 | |
30 | 56 | |
31 | 57 | |
32 | 58 | |
33 | 59 | |
34 | | - |
| 60 | + |
35 | 61 | |
36 | 62 | |
37 | 63 | |
38 | 64 | |
39 | 65 | |
40 | 66 | |
41 | | - |
| 67 | + |
42 | 68 | |
43 | 69 | |
44 | | - |
| 70 | + |
45 | 71 | |
46 | 72 | |
47 | 73 | |
48 | 74 | |
49 | | - |
| 75 | + |
50 | 76 | |
51 | 77 | |
52 | 78 | |
|
0 commit comments