diff options
author | José Valim <[email protected]> | 2019-03-25 10:16:55 +0100 |
---|---|---|
committer | José Valim <[email protected]> | 2019-03-25 10:16:55 +0100 |
commit | 41f3bdc9a9ee88c32ea576bd6a99ee122b4ad4a2 (patch) | |
tree | 5fcc9f0d4f4a5ec5502c28a4babcd1cdffd13331 /src/cow_http_hd.erl | |
parent | 8588724cf91ddbb53b9c35ed665866556b217323 (diff) | |
download | cowlib-41f3bdc9a9ee88c32ea576bd6a99ee122b4ad4a2.tar.gz cowlib-41f3bdc9a9ee88c32ea576bd6a99ee122b4ad4a2.tar.bz2 cowlib-41f3bdc9a9ee88c32ea576bd6a99ee122b4ad4a2.zip |
Make sure iolist split uses N length
The previous implementation would return "ok"
under certain situations when more data could
be fit into the buffer.
By making "ok" explicitly mean length is 0,
then we can simplify other parts of the codebase
and fix a bug that could cause us to send less
data then desired over the wire.
Diffstat (limited to 'src/cow_http_hd.erl')
0 files changed, 0 insertions, 0 deletions