mirror of
https://github.com/curl/curl.git
synced 2026-05-01 07:27:51 +03:00
rustls: remove comment about checking handshaking
The comment is incorrect in two ways: - It says the check needs to be last, but the check is actually first. - is_handshaking actually starts out true. Closes #8038
This commit is contained in:
parent
9b9485e7ac
commit
3f8fde366f
1 changed files with 0 additions and 3 deletions
|
|
@ -416,9 +416,6 @@ cr_connect_nonblocking(struct Curl_easy *data, struct connectdata *conn,
|
|||
/*
|
||||
* Connection has been established according to rustls. Set send/recv
|
||||
* handlers, and update the state machine.
|
||||
* This check has to come last because is_handshaking starts out false,
|
||||
* then becomes true when we first write data, then becomes false again
|
||||
* once the handshake is done.
|
||||
*/
|
||||
if(!rustls_connection_is_handshaking(rconn)) {
|
||||
infof(data, "Done handshaking");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue