Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of HTTP 1.0 responses with Connection: Keep-Alive
An HTTP 1.0 response can keepalive and have a Connection-Length: header, and this is seen in some cases with the initial redirect when we connect to a VPN server (Red Hat bug #553817). Fix and clean up the response handling code accordingly. I _really_ wish I didn't have to write my own HTTP code, and that one of the available libraries was actually able to support SSL connections with a certificate from a TPM. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Jan 9, 2010
1 parent
af12337
commit cc64d59
Showing
1 changed file
with
67 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters