aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-04 04:23:35 +0200
committerKim Alvefur <zash@zash.se>2019-05-04 04:23:35 +0200
commit6dfc361a6cabbbd3894cadb5504ccec0a7d7ae27 (patch)
tree1a455be511e7dea40e9f1b5e8c23b866be31eb17 /net/http.lua
parent33d32b5cb3e33e29448f23f59da76ffa9790c944 (diff)
downloadprosody-6dfc361a6cabbbd3894cadb5504ccec0a7d7ae27.tar.gz
prosody-6dfc361a6cabbbd3894cadb5504ccec0a7d7ae27.zip
net.server_epoll: Restore wantread flag after pause (fixes #1354)
If a chunk of data has been received that is larger than the amount read at a time, then the connection is paused for a short time after which it tries to read some more. If, after that, there is still more data to read, it should do the same thing. However, because the "want read" flag is removed and was restored after the delayed reading, it would not schedule another delayed read.
Diffstat (limited to 'net/http.lua')
0 files changed, 0 insertions, 0 deletions