mirror of
https://github.com/rkd77/elinks.git
synced 2025-04-18 00:47:36 -04: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);
|
struct uri *uri = redirect_cache(conn->cached, url, (http->code == 303L), -1);
|
||||||
|
|
||||||
if (uri) {
|
if (uri) {
|
||||||
set_connection_state(conn, connection_state(S_TRANS));
|
abort_connection(conn, connection_state(S_OK));
|
||||||
} else {
|
} else {
|
||||||
abort_connection(conn, connection_state(S_OK));
|
abort_connection(conn, connection_state(S_OK));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user