Date | Commit message (Collapse) | ||
---|---|---|---|
2010-12-09 | tee_input: fix accounting error on corked requests | ||
In case a request sends the header and buffer as one packet, TeeInput relying on accounting info from StreamInput is harmful as StreamInput will buffer in memory outside of TeeInput's control. This bug is triggered by calling env["rack.input"].size or env["rack.input"].rewind before to read. |