mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[curl] It is broken for sure, but earlier was buggy too. Refs #343
This commit is contained in:
parent
45e2e664c6
commit
c0e69868ec
@ -493,7 +493,7 @@ http_curl_handle_error(struct connection *conn, CURLcode res)
|
||||
struct uri *uri = redirect_cache(conn->cached, url, (http->code == 303L), -1);
|
||||
|
||||
if (uri) {
|
||||
set_connection_state(conn, connection_state(S_TRANS));
|
||||
abort_connection(conn, connection_state(S_OK));
|
||||
} else {
|
||||
abort_connection(conn, connection_state(S_OK));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user