Commit 8fd61e1
async_wrap: add provider types for net server
Adds `TCPSERVERWRAP` and `PIPESERVERWRAP` as provider types. This
makes it possible to distinguish servers from connections.
PR-URL: #17157
Backport-PR-URL: #17623
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 673e263 commit 8fd61e1Copy full SHA for 8fd61e1
File tree
Expand file treeCollapse file tree
32 files changed
+289
-169
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
+289
-169
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 |
|---|---|---|
| ||
234 | 234 | |
235 | 235 | |
236 | 236 | |
237 | | - |
| 237 | + |
238 | 238 | |
239 | 239 | |
240 | 240 | |
| ||
273 | 273 | |
274 | 274 | |
275 | 275 | |
276 | | - |
| 276 | + |
277 | 277 | |
278 | 278 | |
279 | 279 | |
280 | | - |
| 280 | + |
281 | 281 | |
282 | | - |
| 282 | + |
283 | 283 | |
284 | 284 | |
285 | 285 | |
| ||
352 | 352 | |
353 | 353 | |
354 | 354 | |
355 | | - |
| 355 | + |
356 | 356 | |
357 | 357 | |
358 | 358 | |
| ||
385 | 385 | |
386 | 386 | |
387 | 387 | |
388 | | - |
| 388 | + |
389 | 389 | |
390 | 390 | |
391 | 391 | |
|
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 | |
| ||
376 | 376 | |
377 | 377 | |
378 | 378 | |
379 | | - |
| 379 | + |
| 380 | + |
| 381 | + |
380 | 382 | |
381 | 383 | |
382 | 384 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
36 | 36 | |
37 | 37 | |
| ||
106 | 106 | |
107 | 107 | |
108 | 108 | |
109 | | - |
| 109 | + |
110 | 110 | |
111 | 111 | |
112 | 112 | |
|
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 | |
| ||
845 | 845 | |
846 | 846 | |
847 | 847 | |
848 | | - |
| 848 | + |
849 | 849 | |
850 | 850 | |
851 | 851 | |
| ||
858 | 858 | |
859 | 859 | |
860 | 860 | |
861 | | - |
| 861 | + |
862 | 862 | |
863 | 863 | |
864 | 864 | |
|
Collapse file
+23-11Lines changed: 23 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
37 | | - |
| 36 | + |
| 37 | + |
38 | 38 | |
39 | 39 | |
40 | 40 | |
| ||
53 | 53 | |
54 | 54 | |
55 | 55 | |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
60 | 70 | |
61 | 71 | |
62 | 72 | |
| ||
196 | 206 | |
197 | 207 | |
198 | 208 | |
199 | | - |
| 209 | + |
200 | 210 | |
201 | 211 | |
202 | 212 | |
| ||
1003 | 1013 | |
1004 | 1014 | |
1005 | 1015 | |
1006 | | - |
| 1016 | + |
| 1017 | + |
| 1018 | + |
1007 | 1019 | |
1008 | 1020 | |
1009 | 1021 | |
| ||
1253 | 1265 | |
1254 | 1266 | |
1255 | 1267 | |
1256 | | - |
| 1268 | + |
1257 | 1269 | |
1258 | 1270 | |
1259 | 1271 | |
| ||
1264 | 1276 | |
1265 | 1277 | |
1266 | 1278 | |
1267 | | - |
| 1279 | + |
1268 | 1280 | |
1269 | 1281 | |
1270 | 1282 | |
1271 | 1283 | |
1272 | 1284 | |
1273 | 1285 | |
1274 | 1286 | |
1275 | | - |
| 1287 | + |
1276 | 1288 | |
1277 | 1289 | |
1278 | 1290 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
47 | 47 | |
48 | 48 | |
49 | 49 | |
| 50 | + |
50 | 51 | |
51 | 52 | |
52 | 53 | |
| ||
55 | 56 | |
56 | 57 | |
57 | 58 | |
| 59 | + |
58 | 60 | |
59 | 61 | |
60 | 62 | |
|
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