Software /
code /
prosody
Changeset
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 |
parents | 7392:c774622ad9db |
children | 7394:a700d54c620a 7398:206f9b0485ad |
files | net/server_event.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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