Skip to content
#

shadowsocksr

Here are 134 public repositories matching this topic...

ssrlive
ssrlive commented Aug 27, 2019

也算一个总结, 提醒后来人少走弯路.

  • 写入 socket 时的内存管理
    uv_write 函数写网口时, 写入数据的内存必须由你管理, 在 回调函数 uv_write_cb 内部释放. 如果你不信邪, 在 uv_write 执行完以后马上释放, 恭喜你掉坑里了. 我就在这坑里呆了一星期. 因为这么干的结果是, 在 Windows 下一切正常, 在 Linux 下会随机写失败. 估计 Windows 对这块写内存复制了一份以增加安全性, 类 unix 平台就不管你死活了. 这点差异性就足以逼你发疯痛不欲生了.

  • 接收数

Gongkangjia
Gongkangjia commented Oct 23, 2019

run on Mac

Traceback (most recent call last):
  File "shadowsocksr/shadowsocks/local.py", line 81, in <module>
    main()
  File "shadowsocksr/shadowsocks/local.py", line 43, in main
    config = shell.get_config(True)
  File "****/shadowsocksr-speed/shadowsocksr/shadowsocks/../shadowsocks/shell.py", line 221, in get_config
    config['verbose'] = v_count
TypeError: list indices must 

Improve this page

Add a description, image, and links to the shadowsocksr topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the shadowsocksr topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.