From 32dedd265d17a60e4bbf83ba4b2f52b29bf69d30 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Wed, 21 Dec 2011 23:18:33 +0100 Subject: [PATCH] disable cURL redirects, it doesn't send us a deregister on close. --- citadel/modules/eventclient/serv_eventclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2