@@ -384,14 +384,23 @@ static void request_done(struct uclient *cl)
if (n_urls) {
proxy_url = get_proxy_url(*urls);
if (proxy_url) {
- uclient_set_url(cl, proxy_url, NULL);
+ error_ret = uclient_set_url(cl, proxy_url, NULL);
uclient_set_proxy_url(cl, *urls, auth_str);
} else {
- uclient_set_url(cl, *urls, auth_str);
+ error_ret = uclient_set_url(cl, *urls, auth_str);
}
+
+ if (error_ret < 0) {
+ fprintf(stderr, "Failed to allocate uclient context for %s\n", *urls);
+ uclient_disconnect(cl);
+ uloop_end();
+ return;
+ }
+
n_urls--;
cur_resume = resume;
error_ret = init_request(cl);
+
if (error_ret == 0)
return;
}
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software. From: Fabian Baumanis <fabian.baumanis@mailbox.org> --- uclient-fetch.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)