Client: Fix ssl crash issue.

This commit is contained in:
Nick Peng
2020-08-02 01:00:46 +08:00
parent bc0d6b89ca
commit 297ea29639
4 changed files with 46 additions and 32 deletions

View File

@@ -98,6 +98,8 @@ int parse_tls_header(const char *data, size_t data_len, char *hostname, const ch
void get_compiled_time(struct tm *tm);
int is_numeric(const char *str);
int has_network_raw_cap(void);
int set_sock_keepalive(int fd, int keepidle, int keepinterval, int keepcnt);