Commit cfb2f34
tls: cleanup onhandshakestart callback
Re-arrange and cleanup the flow of the onhandshakestart to be
more clear and less repetitive. Exit early in the case of a
first ever handshake for a given connection.
PR-URL: #20466
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent d0cbb4c commit cfb2f34Copy full SHA for cfb2f34
File tree
Expand file treeCollapse file tree
1 file changed
+15
-19
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+15
-19
lines changedOpen diff view settings
Collapse file
+15-19Lines changed: 15 additions & 19 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | | - |
| 65 | + |
| 66 | + |
66 | 67 | |
67 | | - |
| 68 | + |
68 | 69 | |
69 | | - |
70 | | - |
71 | | - |
| 70 | + |
| 71 | + |
| 72 | + |
72 | 73 | |
73 | | - |
74 | | - |
75 | | - |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
76 | 78 | |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
82 | 83 | |
83 | 84 | |
84 | | - |
| 85 | + |
85 | 86 | |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | 87 | |
92 | 88 | |
93 | 89 | |
|
0 commit comments