mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-22 05:06:08 +08:00
Update TLS/TLCP shutdown
This commit is contained in:
@@ -303,6 +303,9 @@ int tls_send_record(TLS_CONNECT *conn)
|
||||
error_print();
|
||||
return -1;
|
||||
}
|
||||
} else if (n == 0) {
|
||||
error_print();
|
||||
return TLS_ERROR_TCP_CLOSED;
|
||||
}
|
||||
conn->record_offset += n;
|
||||
left -= n;
|
||||
|
||||
Reference in New Issue
Block a user