Re: Does CFNetwork proccess http response code 101 internel?
Re: Does CFNetwork proccess http response code 101 internel?
- Subject: Re: Does CFNetwork proccess http response code 101 internel?
- From: Jens Alfke <email@hidden>
- Date: Sat, 25 Apr 2009 18:37:42 -0700
On Apr 25, 2009, at 2:20 AM, Jan Deng wrote:
The protocol is http. 101 is defined in RFC, it means switch protocol.
I used CFReadStreamOpen to connect to the server.
I would guess that this is CFNetwork's way of saying "um, I can't
support HTTP on this socket anymore; you deal with it now", since
after the 101 is sent, the socket is no longer using HTTP but some
other protocol.
If the socket is left open, you may be able to take it over and start
using it directly for whatever other protocol you're switching to.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden