Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libev: fd >= FD_SETSIZE passed to fd_set-based select backend" #54

Open
bb33bb opened this issue Jul 14, 2020 · 0 comments
Open

libev: fd >= FD_SETSIZE passed to fd_set-based select backend" #54

bb33bb opened this issue Jul 14, 2020 · 0 comments

Comments

@bb33bb
Copy link

bb33bb commented Jul 14, 2020

#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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant