projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26705d9
)
fixme: redirects happen
author
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 30 Sep 2008 21:21:31 +0000
(22:21 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 30 Sep 2008 21:21:31 +0000
(22:21 +0100)
ssl.c
patch
|
blob
|
history
diff --git
a/ssl.c
b/ssl.c
index
6c72f4f
..
42d4270
100644
(file)
--- 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);