Commit 7adba5f49c5520f591c4e6519c5bea770a3e4b5d

Carlos Martín Nieto 2011-08-13T20:18:29

Keep sending want lines if the server doesn't anwer a flush Some servers take a long time to answer and expect us to keep sending want lines; otherwise they close the connection. Avoid this by waiting for one second for the server to answer. If the timeout runs out, treat is as a NAK and keep sending want lines. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>