Update TLS/TLCP shutdown

This commit is contained in:
Zhi Guan
2026-06-12 14:09:42 +08:00
parent 51883c507a
commit 8b586d4299
10 changed files with 570 additions and 146 deletions

View File

@@ -1007,6 +1007,9 @@ enum {
TLS_state_send_record,
TLS_state_recv_record_header,
TLS_state_recv_record_data,
TLS_state_shutdown_send_close_notify,
TLS_state_shutdown_recv_close_notify,
TLS_state_shutdown_over,
};
@@ -1022,6 +1025,8 @@ typedef struct {
int handshake_state;
int send_state;
int recv_state;
int shutdown_state;
int close_notify_received;
uint8_t record[TLS_MAX_RECORD_SIZE];