diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2026-08-29 19:59:33 +0200 |
|---|---|---|
| committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2026-08-30 08:46:47 +0200 |
| commit | e21720da69f2a505bcd1405cc7e8b52d5649df55 (patch) | |
| tree | b37bd8a78ba484dd9987b306a50d391315f639ab /src/headers.lua | |
| parent | 827ae20771d34912a8f79b50dc68e6430945b9eb (diff) | |
| download | luasocket-e21720da69f2a505bcd1405cc7e8b52d5649df55.tar.gz luasocket-e21720da69f2a505bcd1405cc7e8b52d5649df55.tar.bz2 luasocket-e21720da69f2a505bcd1405cc7e8b52d5649df55.zip | |
fix(receive): a receive 0 should immediately return, not block
The fix is slightly more complex because reading from a closed
socket should still return a closed-error.
fixes: #427
fixes: https://github.com/ledgetech/lua-resty-http/pull/313
Diffstat (limited to 'src/headers.lua')
0 files changed, 0 insertions, 0 deletions
