Re: Pipelining and Persistent Connection Questions
Re: Pipelining and Persistent Connection Questions
- Subject: Re: Pipelining and Persistent Connection Questions
- From: David Hoerl <email@hidden>
- Date: Mon, 15 Oct 2012 18:43:28 -0400
My understanding is that setHTTPShouldUsePipelining:YES will tell the system you would like to use pipelining. If you do not do that, pipelining will not be used. If you do call setHTTPShouldUsePipelining:YES, pipelining will be used when it can be used. In cases where the server (or a proxy) can not support pipelining, it won't be used, even if you called setHTTPShouldUsePipelining:YES.
I don't know NSURLResponse well enough to know if that information is provided.
-josh
Josh,
I understand that the system works as you say. However, my app has no
way of knowing if either it got a persistent connection (unless I set
the flags for HTTP1.0) or if the system ended up turning pipelining on
or not. It would be nice to know both of those.
David
_______________________________________________
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