mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Unify connection established print
This commit is contained in:
@@ -491,6 +491,7 @@ bad:
|
||||
fprintf(stderr, "%s: error\n", prog);
|
||||
goto end;
|
||||
}
|
||||
tls_connect_print(stderr, 0, 0, NULL, &conn);
|
||||
|
||||
if (get) {
|
||||
snprintf(buf, sizeof(buf), "GET %s HTTP/1.1\r\nHost: %s\r\n\r\n", get, host);
|
||||
|
||||
Reference in New Issue
Block a user