[swift-corelibs-dev] URLSession test fest!
vast.grapes at gmail.com
Thu Feb 2 20:41:48 CST 2017
Following up on this…
I’m wondering if anyone has any info on what happened with the (rather more elaborate) “loopback” server and set of tests from @danieleggert’s PR #299:
Is there some reason we ended up with a somewhat cut-down version of those (I understand that perhaps the URLSession implementation itself from this PR was not used, but perhaps we could pull some of the tests forward, or the more flexible loopback implementation) in master? Sorry if this is a silly question — I’m not very well-versed in the more low-level networking stuff involved here so there may be some obvious reason these are not suitable that I am missing.
Mailing list user Mike Ferenduros also put together what to my eye are some pretty comprehensive tests that have not ever seemed to be PR’d or merged, described here:
Seems like there was some concern over the use of httpbin.org <http://httpbin.org/>, but these could be perhaps pulled in and simply redirected to hit the loopback, as the rest seems pretty well thought-out.
Just wondering if anyone has any of the background information here. I started writing some tests and loopback enhancements of my own but these other two gentlemen are way ahead of me, so maybe we should grab what we can from them, if it is possible to do so! Happy to take a crack at that if it seems like a sane idea.
> On Jan 31, 2017, at 8:45 AM, Peter Tomaselli <vast.grapes at gmail.com> wrote:
> Rad, thanks Tony. I can run all the tests now. Hoping to have some time soon to dig in and see if I can make a contribution. Love that this thing is spinning up its own HTTP server for this — seems real fun.
>> On Jan 30, 2017, at 5:46 PM, Tony Parker <anthony.parker at apple.com> wrote:
>> I see what this problem is. I’ll have a PR up shortly to fix it.
>> - Tony
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-corelibs-dev