scan/ellsi: set recv timeout to 5 seconds unconditionally
This is so we can reliably detect disconnect even in cases such as an unplugged network cable: the server sends a heartbeat every 2.5 seconds. If we fail to read anything after 5 seconds we can safely assume the server is dead or unreachable.
Please register or sign in to comment