Skip to content

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

@bb33bb

Description

@bb33bb

#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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions