mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Really retry forever when connection.retries = 0
This feature has been broken since zas backported it from Links 0.99pre3 2003-04-20.
This commit is contained in:
parent
916ba6783a
commit
a197bde2f6
@ -767,7 +767,7 @@ retry_connection(struct connection *conn, enum connection_state state)
|
||||
set_connection_state(conn, state);
|
||||
|
||||
interrupt_connection(conn);
|
||||
if (conn->uri->post || !max_tries || ++conn->tries >= max_tries) {
|
||||
if (conn->uri->post || (max_tries && ++conn->tries >= max_tries)) {
|
||||
done_connection(conn);
|
||||
register_check_queue();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user