Commit be6aee9
dgram: allow typed arrays in .send()
PR-URL: #22413
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>1 parent 33b22d7 commit be6aee9Copy full SHA for be6aee9
File tree
Expand file treeCollapse file tree
5 files changed
+115
-35
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- test/parallel
Expand file treeCollapse file tree
5 files changed
+115
-35
lines changedOpen diff view settings
Collapse file
+8-4Lines changed: 8 additions & 4 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
395 | 395 | |
396 | 396 | |
397 | 397 | |
| 398 | + |
| 399 | + |
| 400 | + |
398 | 401 | |
399 | 402 | |
400 | 403 | |
| ||
414 | 417 | |
415 | 418 | |
416 | 419 | |
417 | | - |
| 420 | + |
418 | 421 | |
419 | 422 | |
420 | 423 | |
| ||
427 | 430 | |
428 | 431 | |
429 | 432 | |
430 | | - |
431 | | - |
| 433 | + |
| 434 | + |
432 | 435 | |
433 | 436 | |
434 | 437 | |
| ||
457 | 460 | |
458 | 461 | |
459 | 462 | |
460 | | - |
| 463 | + |
| 464 | + |
461 | 465 | |
462 | 466 | |
463 | 467 | |
|
Collapse file
+20-9Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
55 | 55 | |
56 | 56 | |
57 | 57 | |
58 | | - |
| 58 | + |
59 | 59 | |
60 | 60 | |
61 | 61 | |
| ||
456 | 456 | |
457 | 457 | |
458 | 458 | |
459 | | - |
| 459 | + |
460 | 460 | |
461 | | - |
| 461 | + |
| 462 | + |
| 463 | + |
| 464 | + |
| 465 | + |
462 | 466 | |
463 | 467 | |
464 | 468 | |
465 | 469 | |
466 | 470 | |
467 | | - |
| 471 | + |
468 | 472 | |
469 | 473 | |
470 | 474 | |
| ||
475 | 479 | |
476 | 480 | |
477 | 481 | |
478 | | - |
| 482 | + |
479 | 483 | |
480 | 484 | |
481 | | - |
| 485 | + |
482 | 486 | |
483 | 487 | |
484 | 488 | |
| ||
583 | 587 | |
584 | 588 | |
585 | 589 | |
586 | | - |
| 590 | + |
587 | 591 | |
588 | | - |
| 592 | + |
| 593 | + |
| 594 | + |
| 595 | + |
589 | 596 | |
590 | 597 | |
591 | 598 | |
592 | 599 | |
593 | 600 | |
594 | 601 | |
595 | | - |
| 602 | + |
| 603 | + |
| 604 | + |
| 605 | + |
| 606 | + |
596 | 607 | |
597 | 608 | |
598 | 609 | |
|
Collapse file
test/parallel/test-dgram-send-bad-arguments.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-send-bad-arguments.js+4-3Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
| ||
90 | 90 | |
91 | 91 | |
92 | 92 | |
93 | | - |
| 93 | + |
94 | 94 | |
95 | 95 | |
96 | 96 | |
| ||
101 | 101 | |
102 | 102 | |
103 | 103 | |
104 | | - |
| 104 | + |
| 105 | + |
105 | 106 | |
106 | 107 | |
107 | 108 | |
|
Collapse file
test/parallel/test-dgram-send-default-host.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-send-default-host.js+40-12Lines changed: 40 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
15 | 20 | |
16 | 21 | |
17 | 22 | |
| ||
21 | 26 | |
22 | 27 | |
23 | 28 | |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
29 | 44 | |
30 | 45 | |
31 | 46 | |
32 | 47 | |
| 48 | + |
33 | 49 | |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
| 50 | + |
40 | 51 | |
41 | 52 | |
42 | | - |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
43 | 71 | |
44 | 72 | |
Collapse file
test/parallel/test-dgram-udp6-send-default-host.js
Copy file name to clipboardExpand all lines: test/parallel/test-dgram-udp6-send-default-host.js+43-7Lines changed: 43 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
18 | 23 | |
19 | 24 | |
20 | 25 | |
| 26 | + |
21 | 27 | |
22 | 28 | |
23 | 29 | |
24 | 30 | |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
25 | 47 | |
26 | 48 | |
27 | 49 | |
28 | 50 | |
| 51 | + |
29 | 52 | |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
| 53 | + |
36 | 54 | |
37 | 55 | |
38 | | - |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
39 | 75 | |
40 | 76 | |
0 commit comments