From: David Woodhouse Date: Tue, 30 Sep 2008 21:21:31 +0000 (+0100) Subject: fixme: redirects happen X-Git-Tag: v0.90~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2772bf93e43e1a2a6247cd2212cdaac4fb9f2f00;p=platform%2Fupstream%2Fopenconnect.git fixme: redirects happen --- diff --git a/ssl.c b/ssl.c index 6c72f4f..42d4270 100644 --- a/ssl.c +++ b/ssl.c @@ -318,6 +318,8 @@ int obtain_cookie_cert(struct anyconnect_info *vpninfo) exit(1); } + /* FIXME: We need to handle redirects to a different server */ + if (strncmp(buf, "HTTP/1.1 200 ", 13)) { fprintf(stderr, "Got inappropriate HTTP response: %s\n", buf); exit(1);