Commit e0ce7cf
async_wrap: add provider types for net server
Adds `TCPSERVERWRAP` and `PIPESERVERWRAP` as provider types. This
makes it possible to distinguish servers from connections.
Backport-PR-URL: #17621
PR-URL: #17157
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent f1b26be commit e0ce7cfCopy full SHA for e0ce7cf
File tree
Expand file treeCollapse file tree
32 files changed
+288
-168
lines changedOpen diff view settings
Filter options
- benchmark/net
- doc/api
- lib
- internal
- src
- test
- async-hooks
- common
- parallel
- sequential
Expand file treeCollapse file tree
32 files changed
+288
-168
lines changedOpen diff view settings
Collapse file
benchmark/net/tcp-raw-c2s.js
Copy file name to clipboardExpand all lines: benchmark/net/tcp-raw-c2s.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
| ||
92 | 92 | |
93 | 93 | |
94 | 94 | |
95 | | - |
| 95 | + |
96 | 96 | |
97 | 97 | |
98 | 98 | |
|
Collapse file
benchmark/net/tcp-raw-pipe.js
Copy file name to clipboardExpand all lines: benchmark/net/tcp-raw-pipe.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
| ||
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | | - |
| 38 | + |
39 | 39 | |
40 | 40 | |
41 | 41 | |
| ||
89 | 89 | |
90 | 90 | |
91 | 91 | |
92 | | - |
| 92 | + |
93 | 93 | |
94 | 94 | |
95 | 95 | |
|
Collapse file
benchmark/net/tcp-raw-s2c.js
Copy file name to clipboardExpand all lines: benchmark/net/tcp-raw-s2c.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
| ||
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | | - |
| 38 | + |
39 | 39 | |
40 | 40 | |
41 | 41 | |
| ||
107 | 107 | |
108 | 108 | |
109 | 109 | |
110 | | - |
| 110 | + |
111 | 111 | |
112 | 112 | |
113 | 113 | |
|
Collapse file
+6-6Lines changed: 6 additions & 6 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
236 | 236 | |
237 | 237 | |
238 | 238 | |
239 | | - |
| 239 | + |
240 | 240 | |
241 | 241 | |
242 | 242 | |
| ||
275 | 275 | |
276 | 276 | |
277 | 277 | |
278 | | - |
| 278 | + |
279 | 279 | |
280 | 280 | |
281 | 281 | |
282 | | - |
| 282 | + |
283 | 283 | |
284 | | - |
| 284 | + |
285 | 285 | |
286 | 286 | |
287 | 287 | |
| ||
354 | 354 | |
355 | 355 | |
356 | 356 | |
357 | | - |
| 357 | + |
358 | 358 | |
359 | 359 | |
360 | 360 | |
| ||
387 | 387 | |
388 | 388 | |
389 | 389 | |
390 | | - |
| 390 | + |
391 | 391 | |
392 | 392 | |
393 | 393 | |
|
Collapse file
+5-3Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
38 | | - |
| 37 | + |
| 38 | + |
39 | 39 | |
40 | 40 | |
41 | 41 | |
| ||
398 | 398 | |
399 | 399 | |
400 | 400 | |
401 | | - |
| 401 | + |
| 402 | + |
| 403 | + |
402 | 404 | |
403 | 405 | |
404 | 406 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | 34 | |
| ||
103 | 103 | |
104 | 104 | |
105 | 105 | |
106 | | - |
| 106 | + |
107 | 107 | |
108 | 108 | |
109 | 109 | |
|
Collapse file
lib/internal/child_process.js
Copy file name to clipboardExpand all lines: lib/internal/child_process.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
| 13 | + |
14 | 14 | |
15 | 15 | |
16 | 16 | |
| ||
863 | 863 | |
864 | 864 | |
865 | 865 | |
866 | | - |
| 866 | + |
867 | 867 | |
868 | 868 | |
869 | 869 | |
| ||
876 | 876 | |
877 | 877 | |
878 | 878 | |
879 | | - |
| 879 | + |
880 | 880 | |
881 | 881 | |
882 | 882 | |
|
Collapse file
+22-10Lines changed: 22 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
41 | | - |
| 40 | + |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | | - |
| 60 | + |
61 | 61 | |
62 | | - |
63 | | - |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
64 | 74 | |
65 | 75 | |
66 | 76 | |
| ||
200 | 210 | |
201 | 211 | |
202 | 212 | |
203 | | - |
| 213 | + |
204 | 214 | |
205 | 215 | |
206 | 216 | |
| ||
1009 | 1019 | |
1010 | 1020 | |
1011 | 1021 | |
1012 | | - |
| 1022 | + |
| 1023 | + |
| 1024 | + |
1013 | 1025 | |
1014 | 1026 | |
1015 | 1027 | |
| ||
1269 | 1281 | |
1270 | 1282 | |
1271 | 1283 | |
1272 | | - |
| 1284 | + |
1273 | 1285 | |
1274 | 1286 | |
1275 | 1287 | |
| ||
1280 | 1292 | |
1281 | 1293 | |
1282 | 1294 | |
1283 | | - |
| 1295 | + |
1284 | 1296 | |
1285 | 1297 | |
1286 | 1298 | |
1287 | 1299 | |
1288 | 1300 | |
1289 | 1301 | |
1290 | 1302 | |
1291 | | - |
| 1303 | + |
1292 | 1304 | |
1293 | 1305 | |
1294 | 1306 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
46 | 46 | |
47 | 47 | |
48 | 48 | |
| 49 | + |
49 | 50 | |
50 | 51 | |
51 | 52 | |
| ||
54 | 55 | |
55 | 56 | |
56 | 57 | |
| 58 | + |
57 | 59 | |
58 | 60 | |
59 | 61 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
51 | 51 | |
52 | 52 | |
53 | 53 | |
54 | | - |
| 54 | + |
| 55 | + |
| 56 | + |
55 | 57 | |
56 | 58 | |
57 | 59 | |
|
0 commit comments