From: Wilfried Goesgens Date: Wed, 21 Dec 2011 22:18:33 +0000 (+0100) Subject: disable cURL redirects, it doesn't send us a deregister on close. X-Git-Tag: v8.11~289 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=32dedd265d17a60e4bbf83ba4b2f52b29bf69d30 disable cURL redirects, it doesn't send us a deregister on close. --- diff --git a/citadel/modules/eventclient/serv_eventclient.c b/citadel/modules/eventclient/serv_eventclient.c index d930a228a..91e617617 100644 --- a/citadel/modules/eventclient/serv_eventclient.c +++ b/citadel/modules/eventclient/serv_eventclient.c @@ -359,8 +359,8 @@ int evcurl_init(AsyncIO *IO, OPT(NOSIGNAL, 1L); OPT(FAILONERROR, (long)1); OPT(ENCODING, ""); - OPT(FOLLOWLOCATION, (long)1); - OPT(MAXREDIRS, (long)7); + OPT(FOLLOWLOCATION, (long)0); + OPT(MAXREDIRS, (long)0); OPT(USERAGENT, CITADEL); OPT(TIMEOUT, (long)1800);