summaryrefslogtreecommitdiff
path: root/src/ssl.h
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-06-20 20:46:53 +0800
committeryangwei <[email protected]>2024-06-20 20:46:53 +0800
commitb79604e50bcd71c05c5151e1691001bbb2bd0f6c (patch)
tree5c3581b92ff3a9676e9b037a6630ad475b9a8a0a /src/ssl.h
parent123a903a45091a8bc8d6126b2c0b084d7e9a83ad (diff)
✨ feat(ssl_chello_finished): support get chello state by streamBackport-2.0-frag-chello
Diffstat (limited to 'src/ssl.h')
-rw-r--r--src/ssl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ssl.h b/src/ssl.h
index 547ee7f..5902b61 100644
--- a/src/ssl.h
+++ b/src/ssl.h
@@ -343,6 +343,9 @@ struct ssl_frag_chello *ssl_frag_chello_get0(struct streaminfo *stream);
void ssl_frag_chello_free(struct streaminfo *stream);
+// < 0: not ssl, 0: not finished, 1: finished
+int ssl_chello_finished(struct streaminfo *stream);
+
#ifdef __cplusplus
}
#endif