Commit 96f93cc
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 30af5ce commit 96f93ccCopy full SHA for 96f93cc
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 |
|---|---|---|
| ||
1438 | 1438 | |
1439 | 1439 | |
1440 | 1440 | |
| 1441 | + |
| 1442 | + |
| 1443 | + |
| 1444 | + |
| 1445 | + |
| 1446 | + |
1441 | 1447 | |
1442 | 1448 | |
1443 | 1449 | |
| ||
3590 | 3596 | |
3591 | 3597 | |
3592 | 3598 | |
| 3599 | + |
3593 | 3600 | |
3594 | 3601 | |
3595 | 3602 | |
|
Collapse file
+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
| 78 | + |
78 | 79 | |
79 | 80 | |
80 | 81 | |
| ||
276 | 277 | |
277 | 278 | |
278 | 279 | |
279 | | - |
| 280 | + |
| 281 | + |
| 282 | + |
280 | 283 | |
281 | 284 | |
282 | 285 | |
|
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