caoli5288

Results 58 comments of caoli5288

@Marcono1234 This is a simple class just like that. ```java public class Foo { public Future foo() { ListenableFutureTask f = ListenableFutureTask.create(() -> { try (Socket so = new Socket(address.getAddress(),...

You need `nginx >= 1.11.5` compiled with `--with-stream_ssl_preread_module`(it's default to el's pre-build rpm package) and then folow those step. 1, make your blog bind to a private addr like `127.0.0.1:443`....

Yes. `supervisor` is good. but it still some issues in el6(python-2.6 and gcc-4.4) that we can't install `sstp-server` and manage it by `supervisor` directly. I'll write blog to guide how...

类似的协议蛮多,广泛的有UDT和RakNet,但不见得效果比kcp好,

bbr我也尝试过魔改移植,效果其实不明显

Kuai Control Protocol I guess. "Kuai" means fast in chineses. :-)

人家怎么样关你屁事?

ARQ内部从来不做线程安全,默认就是上下文一致的环境,并发访问ARQ这种做法本身就是有问题的

@yuanxuewen 你的感觉没什么错,但实现所谓的`收包和ARQ逻辑应该在一个独立的线程中,发包在业务线程中`不需要显式使用锁,更不需要recv函数支持阻塞,最简单的套个eventloop就能做到,也就是韦先生说的reactor模型,