disable cURL redirects, it doesn't send us a deregister on close.
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 21 Dec 2011 22:18:33 +0000 (23:18 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Wed, 21 Dec 2011 22:18:33 +0000 (23:18 +0100)
citadel/modules/eventclient/serv_eventclient.c

index d930a228a6e8c4a360b833eb3812180ef2ede945..91e617617db8026c98b3da859827444317848634 100644 (file)
@@ -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);