Commit 4b2a015
http: remove internal error in assignSocket
Change ServerResponse.assignSocket to not throw an internal error,
but an error with its own code.
Signed-off-by: Matteo Collina <hello@matteocollina.com>
PR-URL: #47723
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>1 parent 5ca437b commit 4b2a015Copy full SHA for 4b2a015
File tree
Expand file treeCollapse file tree
4 files changed
+19
-1
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- internal
- test/parallel
Expand file treeCollapse file tree
4 files changed
+19
-1
lines changedOpen diff view settings
Collapse file
+7Lines changed: 7 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1431 | 1431 | |
1432 | 1432 | |
1433 | 1433 | |
| 1434 | + |
| 1435 | + |
| 1436 | + |
| 1437 | + |
| 1438 | + |
| 1439 | + |
1434 | 1440 | |
1435 | 1441 | |
1436 | 1442 | |
| ||
3565 | 3571 | |
3566 | 3572 | |
3567 | 3573 | |
| 3574 | + |
3568 | 3575 | |
3569 | 3576 | |
3570 | 3577 | |
|
Collapse file
+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
76 | 76 | |
77 | 77 | |
78 | 78 | |
| 79 | + |
79 | 80 | |
80 | 81 | |
81 | 82 | |
| ||
279 | 280 | |
280 | 281 | |
281 | 282 | |
282 | | - |
| 283 | + |
| 284 | + |
| 285 | + |
283 | 286 | |
284 | 287 | |
285 | 288 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1167 | 1167 | |
1168 | 1168 | |
1169 | 1169 | |
| 1170 | + |
| 1171 | + |
1170 | 1172 | |
1171 | 1173 | |
1172 | 1174 | |
|
Collapse file
test/parallel/test-http-server-response-standalone.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-server-response-standalone.js+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
34 | 40 | |
0 commit comments