1
0
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:
Witold Filipczyk 2024-12-09 16:05:41 +01:00
parent 45e2e664c6
commit c0e69868ec

View File

@ -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));
}