Commit 2084f52
test: test more http response splitting scenarios
The test verified the output of http.OutgoingMessage#writeHead() but
not http.OutgoingMessage#setHeader(). Also check the response body.
PR-URL: #2945
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Rod Vagg <r@va.gg>1 parent fa08d1d commit 2084f52Copy full SHA for 2084f52
File tree
Expand file treeCollapse file tree
1 file changed
+52
-21
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+52
-21
lines changedOpen diff view settings
Collapse file
test/parallel/test-http-header-response-splitting.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-header-response-splitting.js+52-21Lines changed: 52 additions & 21 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
7 | | - |
| 6 | + |
| 7 | + |
| 8 | + |
8 | 9 | |
9 | 10 | |
10 | | - |
| 11 | + |
| 12 | + |
11 | 13 | |
12 | | - |
| 14 | + |
13 | 15 | |
14 | 16 | |
15 | | - |
| 17 | + |
| 18 | + |
| 19 | + |
16 | 20 | |
17 | 21 | |
18 | | - |
| 22 | + |
| 23 | + |
19 | 24 | |
20 | 25 | |
21 | | - |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
22 | 46 | |
23 | 47 | |
24 | | - |
25 | | - |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
26 | 52 | |
27 | 53 | |
28 | 54 | |
29 | 55 | |
30 | | - |
| 56 | + |
| 57 | + |
| 58 | + |
31 | 59 | |
32 | 60 | |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
37 | 67 | |
38 | | - |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
39 | 74 | |
40 | | - |
| 75 | + |
41 | 76 | |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
| 77 | + |
0 commit comments