Tags: qa1/byte-stream
Tags
Solve performance issues with very large chunks Very large chunks need to be copied every time there's a partial write, which is pretty problematic. Instead of doing an almost full copy of the full chunk every time, this patch splits very large chunks into multiple smaller chunks automatically. Fixes amphp#41.
v1.2.4 - Fixed issue with immediate reads, which could result in a blocking loop in combination with immediate writes. Such a situation is only likely on pipes or files, network sockets are probably not affected here, unless they receive data very quickly. Reads now deferred to the next tick in case they're immediate. (amphp#37)
v1.2.3 - Fixed wrong exception being thrown for writing to closed `ResourceOutputStream` (amphp#35) - Fixed performance issue with `STDIN` on Windows. This might also improve performance for other streams. - Fixed condition to detect a broken pipe in `ResourceOutputStream`.
PreviousNext