On 13 Jul 2015, at 23:20, Jens Alfke <j...@mooseyard.com> wrote:

> Does CFHTTPStream just go into passthru mode at that point?

On the read side, yes.  The problem is the write side.  Remember that, when you 
want to stream data to a CFHTTPStream, you give it a read stream and it reads 
data from that stream and writes it to TCP connection.  The issue is that it 
applies chunked transfer encoding to the data, as you'd expect for an HTTP 
request body of unknown length.  Alas, this is not helpful when implementing a 
WebSocket.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to