Closed michael-o closed 3 years ago
I am by far not an expect, but I am confused why socket options are set here: https://github.com/johnmehr/gitup/blob/2547cfcaf9ddf20b4ebb9b6aac6b7b1c0fc7d56d/gitup.c#L853-L871 in setup_ssl() instead of in connect_server(). TLS is set up when the connection has already been established.
setup_ssl()
connect_server()
This was a bad copy/paste on my part. How does it look now?
LGTM.
I am by far not an expect, but I am confused why socket options are set here: https://github.com/johnmehr/gitup/blob/2547cfcaf9ddf20b4ebb9b6aac6b7b1c0fc7d56d/gitup.c#L853-L871 in
setup_ssl()
instead of inconnect_server()
. TLS is set up when the connection has already been established.