recalculate timeout in immediate mode also

This commit is contained in:
Masaq- 2017-04-03 20:22:34 +00:00
parent d10bea1607
commit 1cbe946676

View File

@ -322,7 +322,7 @@ got_response(int id, int immediate, int fail)
this.rtt_total_ms += rtt_ms;
this.num_immediate++;
if (this.autodetect_server_timeout && this.lazymode)
if (this.autodetect_server_timeout)
update_server_timeout(0);
}