mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-31 06:23:52 +00:00
Add missing fast open headers
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
#include <ev.h>
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#include "winsock.h"
|
||||
#endif
|
||||
|
||||
#include "crypto.h"
|
||||
#include "jconf.h"
|
||||
|
||||
@@ -72,6 +76,10 @@ typedef struct remote_ctx {
|
||||
|
||||
typedef struct remote {
|
||||
int fd;
|
||||
#ifdef TCP_FASTOPEN_WINSOCK
|
||||
OVERLAPPED olap;
|
||||
int connect_ex_done;
|
||||
#endif
|
||||
buffer_t *buf;
|
||||
struct remote_ctx *recv_ctx;
|
||||
struct remote_ctx *send_ctx;
|
||||
|
||||
Reference in New Issue
Block a user