MK (fengmk2)

Results 691 comments of MK (fengmk2)

@zensh 重新看了 http.js 和 agent.js ,确实,如果是 error 事件,必然会触发 close,然后这个 socket 是不会别重用的。你的 patch 理论是生效的。

@zensh 在并发比较大的情况下,按道理这种异常出现的概率非常高才对。。。

@dead-horse 感觉第二次还给 body 设置一个 stream,其实应该抛异常处理的。。。而不是现在这样兜底。

``` js // stream if (val instanceof Stream) { if (original instanceof Stream) { // same stream, do nothing if (original === val) return; // destroy original stream and clean...

https://github.com/koajs/koa/commit/fa63e252c107e27b599e2d892f84ac407d393270 这样修复如何?

等 @dead-horse 的 koa fix

如果你压缩之前的文件名不是 utf8 的,那么解压出来就会乱码。估计还得增加一个编码参数才行。

can you upload the demo tgz file here? we can fix it or you can help us fix it .

看起来单测比较困难。