Software /
code /
prosody
Diff
net/server_event.lua @ 7393:1909bde0e79f
net.server_event: Return the correct value as timeout
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 19 Apr 2016 18:20:39 +0200 |
parent | 7392:c774622ad9db |
child | 7394:a700d54c620a |
child | 7398:206f9b0485ad |
line wrap: on
line diff
--- a/net/server_event.lua Tue Apr 19 18:18:57 2016 +0200 +++ b/net/server_event.lua Tue Apr 19 18:20:39 2016 +0200 @@ -549,7 +549,7 @@ -- data possibly written from ondrain return EV_WRITE, cfg.WRITE_TIMEOUT elseif interface.eventreadtimeout then - return EV_WRITE, EV_TIMEOUT + return EV_WRITE, cfg.WRITE_TIMEOUT end interface.eventwrite = nil return -1