bugs.ruby-lang.org
Feature #8468: Remove $SAFE - Ruby trunk - Ruby Issue Tracking System
https://bugs.ruby-lang.org/issues/8468
200 accepted features (need action! Added by Shugo Maeda. Ago Updated about 3 years. Yesterday, at GitHub Tokyo drinkup (thanks, GitHub! Matz agreed to remove the $SAFE = 4 feature from Ruby 2.1. Shibata-san, a developer of tDiary, which is the only application using $SAFE = 4, also agreed to remove it, so today is a good day to say goodbye to $SAFE (at least level 4). Furthermore, Im wondering whether $SAFE should be removed entirely, or not. Is there anyone using $SAFE? Added by Shugo Maeda. Safec, str...
chenwang.net
GameXG | 随手记录,好记性不如烂笔头。 - Part 2
https://www.chenwang.net/page/2
坑死啊,之前使用 shadowsocks-csharp 作为上层代理就发现有些不对劲,这次仔细研究下代码,发现被坑了…. Shadowsocks-csharp 并没有按标准 socks5 协议实现…. Https:/ github.com/shadowsocks/shadowsocks-windows/blob/master/shadowsocks-csharp/Controller/Service/Listener.cs#L83. Start an asynchronous socket to listen for connections. 开始第一次数据接收,这里有个坑,第一次会接受 buf.Length (4096) 直接的数据,但是后面时却只处理了前几个字节,后面的内容被抛弃了。 Https:/ github.com/shadowsocks/shadowsocks-windows/blob/master/shadowsocks-csharp/Controller/Service/Listener.cs#L159. TCPRelay 为每个连接建立一个 Handler 来处理请求。 Https:/...