stunnel

Receiving Chunked HTTP Data With Winsock

烈酒焚心 提交于 2019-11-27 02:12:14
I'm having trouble reading in some chunked HTTP response data using winsock. I send a request fine and get the following back: HTTP/1.1 200 OK Server: LMAX/1.0 Content-Type: text/xml; charset=utf-8 Transfer-Encoding: chunked Date: Mon, 29 Aug 2011 16:22:19 GMT using winsock recv. At this point however it just hangs. I have the listener running in an infinite loop but nothing is ever picked up. I think it's a C++ issue but it could also be related to the fact that I pushing the connection through stunnel to wrap it up inside HTTPS. I have a test application using some libs in C# which works