Re: NSURLSessionStreamTask and HTTP(S) proxies
site_archiver@lists.apple.com Delivered-To: macnetworkprog@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=kA3dMRYnUAvL8T00DzCt8/YXd9RL0hmnLINxVaVjM3E=; b=Tn11rZiIA1y3caXyphm72Yfmo717Q1v6sxwqE5hOw9bZyWn1vbnkuTJAaAkwV740tW BaSrifLjNT+8fZC7YXZy5Efre2+2S8jUdHCiZEBYMY5hAzH/NFXpr2NInC7IiOUsdVZS 6nm0oOGhkAJOOnQWrGqrwddprgzHcQUIj+ToHKJAedFz3kIM93bpHH8ZUmkovVKP1S/G gB9/o9SITEbIKTFFNzLcFtL+TfUzC9m+BZuPuFfk+SW7UE0hJdLyZEoreMmL1tJBuccW dQgplLTBA8jnHwT9UqadNSGKYeQROuWY8yVxA9eV3u8ScCMBKmSou7kw+Rrwc21wcFB4 XG2Q== Just as a follow up, for posterity, this is now fixed in 10.13. On Tue, 7 Feb 2017 at 17:14 Quinn "The Eskimo!" <eskimo1@apple.com> wrote:
On 7 Feb 2017, at 14:38, Thibault Martin-Lagardette <thibault.ml@gmail.com> wrote:
Which is invalid, because of the starting /.
Indeed. There’s not going to be an easy way around that )-: Blat!
You could use a stream task to the proxy and use CFHTTPMessage to format the request and parse the response. But that really brings us back to your other point:
yes on principle I could potentially do that, but that means handling proxies manually (and handling them changing while the connection is active), which is really what I'm trying to avoid having to do.
Quite. Ultimately this is a business decision as to whether it’s worth your time addressing this edge case.
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/thibault.ml%40gmail.c...
This email sent to thibault.ml@gmail.com
-- Thibault ML _______________________________________________ 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/site_archiver%40lists... This email sent to site_archiver@lists.apple.com
participants (1)
-
Thibault Martin-Lagardette