failed to start with v2ray-plugin && without "-verbose" flag
NotRealMe opened this issue · comments
jie commented
start program with v2ray-plugin and without -verbose flag :
go-shadowsocks2 -s "ss://chacha20-ietf-poly1305:JustPassWD@:xxxxx" -plugin v2ray-plugin -plugin-opts "server;fast-open;host=example.com;path=/haha"
this will cause program exit with code 2(P.S. if start with a -verbose flag, it just works fine)
After some investigation, I find out program exit at
Line 89 in 3ebf450
and if I delete the if warp(also with an empty return) in
Line 22 in 3ebf450
or change this line :
Line 26 in 3ebf450
to
return len(p), nil
shadowsocks can works fine with v2ray-plugin and without -verbose flag enable.