how to handle CONNECT http request
Posted
by davidshen84
on Stack Overflow
See other posts from Stack Overflow
or by davidshen84
Published on 2010-04-24T06:26:05Z
Indexed on
2010/04/24
6:33 UTC
Read the original article
Hit count: 336
hi,
i want to implement a simple web server for my self. i can handle GET and POST request now. but i have no idea what to do with CONNECT request. CONNECT request is send when the client is going to access a https site. according to http://muffin.doit.org/docs/rfc/tunneling_ssl.html, it says i should response '200 Connection established'. but i got 'A TLS packet with unexpected length was received' on the client.
the wiki described about the ssl handshake protocol, but it did not mention how to implement it.
© Stack Overflow or respective owner