forked from shadowsocksr-rm/shadowsocksr-libev
-
Notifications
You must be signed in to change notification settings - Fork 424
Open
Description
#1 # What version of shadowsocks-libev are you using?
编译的本git的最新版
What operating system are you using?
win10
What did you do?
根据需要,修正了几处,编译成功。
mingw64编译
如下三处修改
0x01
src/http.h中
-const protocol_t *const http_protocol;
+extern const protocol_t *const http_protocol;
0x02
src/tls.h中
-const protocol_t *const tls_protocol;
+extern const protocol_t *const tls_protocol;
0x03
local.c文件中
// strncpy(host, ip, sizeof(ip));
strcpy(host, ip);
0x04
copy version.in.h ersion.h
What did you see instead?
崩溃,错误提示
src/libev/ev_select.c
assert (("libev: fd >= FD_SETSIZE passed to fd_set-based select backend", fd < FD_SETSIZE));
偶尔运行成功,偶尔运行失败。看天气。
What is your config in detail (with all sensitive info masked)?
Metadata
Metadata
Assignees
Labels
No labels