Commit 6d9af41
src: in-source comments and minor TLS cleanups
Renamed some internal C++ methods and properties for consistency, and
commented SSL I/O.
- Rename waiting_new_session_ after is_waiting_new_session(), instead of
using reverse naming (new_session_wait_), and change "waiting" to
"awaiting".
- Make TLSWrap::ClearIn() return void, the value is never used.
- Fix a getTicketKeys() cut-n-paste error. Since it doesn't use the
arguments, remove them from the js wrapper.
- Remove call of setTicketKeys(getTicketKeys()), its a no-op.
PR-URL: #25713
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 09a1085 commit 6d9af41Copy full SHA for 6d9af41
File tree
Expand file treeCollapse file tree
8 files changed
+84
-39
lines changedOpen diff view settings
Filter options
- lib
- src
Expand file treeCollapse file tree
8 files changed
+84
-39
lines changedOpen diff view settings
Collapse file
+2-4Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
998 | 998 | |
999 | 999 | |
1000 | 1000 | |
1001 | | - |
1002 | | - |
1003 | 1001 | |
1004 | 1002 | |
1005 | 1003 | |
| ||
1016 | 1014 | |
1017 | 1015 | |
1018 | 1016 | |
1019 | | - |
1020 | | - |
| 1017 | + |
| 1018 | + |
1021 | 1019 | |
1022 | 1020 | |
1023 | 1021 | |
|
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1505 | 1505 | |
1506 | 1506 | |
1507 | 1507 | |
1508 | | - |
| 1508 | + |
1509 | 1509 | |
1510 | 1510 | |
1511 | 1511 | |
| ||
2101 | 2101 | |
2102 | 2102 | |
2103 | 2103 | |
| 2104 | + |
2104 | 2105 | |
2105 | 2106 | |
2106 | 2107 | |
| ||
2134 | 2135 | |
2135 | 2136 | |
2136 | 2137 | |
2137 | | - |
| 2138 | + |
2138 | 2139 | |
2139 | 2140 | |
2140 | 2141 | |
|
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
218 | 218 | |
219 | 219 | |
220 | 220 | |
221 | | - |
| 221 | + |
222 | 222 | |
223 | 223 | |
224 | 224 | |
| ||
234 | 234 | |
235 | 235 | |
236 | 236 | |
237 | | - |
| 237 | + |
238 | 238 | |
239 | 239 | |
240 | 240 | |
| ||
325 | 325 | |
326 | 326 | |
327 | 327 | |
328 | | - |
| 328 | + |
329 | 329 | |
330 | 330 | |
331 | 331 | |
|
Collapse file
+6-5Lines changed: 6 additions & 5 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 | |
| ||
80 | 80 | |
81 | 81 | |
82 | 82 | |
83 | | - |
84 | | - |
| 83 | + |
| 84 | + |
85 | 85 | |
86 | 86 | |
87 | | - |
| 87 | + |
| 88 | + |
88 | 89 | |
89 | 90 | |
90 | 91 | |
|
Collapse file
src/node_crypto_clienthello.h
Copy file name to clipboardExpand all lines: src/node_crypto_clienthello.h+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
| 33 | + |
| 34 | + |
| 35 | + |
33 | 36 | |
34 | 37 | |
35 | 38 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
232 | 232 | |
233 | 233 | |
234 | 234 | |
235 | | - |
| 235 | + |
236 | 236 | |
237 | 237 | |
238 | 238 | |
|
Collapse file
+43-17Lines changed: 43 additions & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
114 | 114 | |
115 | 115 | |
116 | 116 | |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
117 | 122 | |
118 | 123 | |
119 | 124 | |
| ||
192 | 197 | |
193 | 198 | |
194 | 199 | |
| 200 | + |
| 201 | + |
| 202 | + |
195 | 203 | |
196 | 204 | |
197 | 205 | |
| ||
246 | 254 | |
247 | 255 | |
248 | 256 | |
249 | | - |
| 257 | + |
250 | 258 | |
251 | 259 | |
252 | 260 | |
| ||
256 | 264 | |
257 | 265 | |
258 | 266 | |
259 | | - |
| 267 | + |
260 | 268 | |
261 | 269 | |
262 | 270 | |
| ||
443 | 451 | |
444 | 452 | |
445 | 453 | |
446 | | - |
| 454 | + |
447 | 455 | |
448 | 456 | |
449 | | - |
| 457 | + |
450 | 458 | |
451 | 459 | |
452 | | - |
| 460 | + |
453 | 461 | |
454 | 462 | |
455 | 463 | |
| ||
469 | 477 | |
470 | 478 | |
471 | 479 | |
| 480 | + |
472 | 481 | |
473 | | - |
| 482 | + |
474 | 483 | |
475 | 484 | |
476 | 485 | |
| ||
482 | 491 | |
483 | 492 | |
484 | 493 | |
| 494 | + |
| 495 | + |
485 | 496 | |
486 | 497 | |
487 | 498 | |
| ||
492 | 503 | |
493 | 504 | |
494 | 505 | |
495 | | - |
| 506 | + |
496 | 507 | |
497 | 508 | |
498 | 509 | |
| ||
548 | 559 | |
549 | 560 | |
550 | 561 | |
| 562 | + |
551 | 563 | |
552 | 564 | |
553 | 565 | |
| ||
561 | 573 | |
562 | 574 | |
563 | 575 | |
564 | | - |
565 | | - |
566 | 576 | |
567 | | - |
| 577 | + |
568 | 578 | |
569 | 579 | |
570 | 580 | |
571 | 581 | |
| 582 | + |
| 583 | + |
| 584 | + |
| 585 | + |
| 586 | + |
| 587 | + |
| 588 | + |
| 589 | + |
| 590 | + |
| 591 | + |
| 592 | + |
| 593 | + |
572 | 594 | |
573 | 595 | |
574 | | - |
575 | | - |
576 | 596 | |
577 | 597 | |
578 | 598 | |
| ||
592 | 612 | |
593 | 613 | |
594 | 614 | |
595 | | - |
| 615 | + |
596 | 616 | |
597 | 617 | |
598 | 618 | |
| ||
611 | 631 | |
612 | 632 | |
613 | 633 | |
| 634 | + |
| 635 | + |
614 | 636 | |
615 | 637 | |
616 | 638 | |
617 | 639 | |
618 | 640 | |
| 641 | + |
619 | 642 | |
620 | 643 | |
621 | 644 | |
622 | 645 | |
623 | 646 | |
624 | | - |
| 647 | + |
625 | 648 | |
626 | 649 | |
627 | 650 | |
| ||
653 | 676 | |
654 | 677 | |
655 | 678 | |
656 | | - |
657 | 679 | |
658 | 680 | |
659 | 681 | |
660 | 682 | |
661 | 683 | |
662 | | - |
| 684 | + |
| 685 | + |
663 | 686 | |
664 | 687 | |
665 | 688 | |
666 | | - |
| 689 | + |
| 690 | + |
| 691 | + |
| 692 | + |
667 | 693 | |
668 | 694 | |
669 | 695 | |
|
Collapse file
+23-7Lines changed: 23 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
72 | 72 | |
73 | 73 | |
74 | 74 | |
| 75 | + |
75 | 76 | |
| 77 | + |
76 | 78 | |
77 | 79 | |
78 | 80 | |
| ||
105 | 107 | |
106 | 108 | |
107 | 109 | |
108 | | - |
109 | | - |
110 | | - |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
111 | 121 | |
112 | 122 | |
| 123 | + |
| 124 | + |
| 125 | + |
113 | 126 | |
114 | 127 | |
115 | 128 | |
| ||
118 | 131 | |
119 | 132 | |
120 | 133 | |
| 134 | + |
121 | 135 | |
122 | 136 | |
123 | 137 | |
| ||
139 | 153 | |
140 | 154 | |
141 | 155 | |
142 | | - |
143 | | - |
| 156 | + |
| 157 | + |
144 | 158 | |
145 | 159 | |
146 | 160 | |
147 | 161 | |
148 | 162 | |
149 | 163 | |
150 | | - |
151 | | - |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
152 | 168 | |
153 | 169 | |
154 | 170 | |
|
0 commit comments