Skip to content
Permalink
Browse files
Reinstate compatibility with test server hack
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Feb 4, 2013
1 parent dc7684d commit 67e0f8216ea375b53575d7bfda2c675bc1195a4e
Showing with 5 additions and 0 deletions.
  1. +5 −0 http.c
5 http.c
@@ -388,6 +388,7 @@ static int process_http_response(struct openconnect_info *vpninfo, int *result,
if (!closeconn) {
vpn_progress(vpninfo, PRG_ERR,
_("Cannot receive HTTP 1.0 body without closing connection\n"));
openconnect_close_https(vpninfo, 0);
return -EINVAL;
}

@@ -989,6 +990,10 @@ int openconnect_obtain_cookie(struct openconnect_info *vpninfo)
free(form_buf);
return result;
}
if (form->action) {
vpninfo->redirect_url = strdup(form->action);
handle_redirect(vpninfo);
}
}

/* Step 4: Run the CSD trojan, if applicable */

0 comments on commit 67e0f82

Please sign in to comment.