Jon Shier

Results 265 comments of Jon Shier

On Apple platforms, regular requests never trigger that delegate method, so that assertion is made. However, it may be that the delegate method is called at different times on Linux,...

Sorry, my thought was incorrect, the actual calls were inlined so I was confused. The actual crash is in `Session` at the `dispatchPrecondition`. ```swift func request(for task: URLSessionTask) -> Request?...

From what I can tell this is a bug in `swift-corelibs-foundation`'s `URLSession` implementation. They call this delegate method without hopping to the delegate queue. ```swift if let delegate = task?.delegate...

Only workaround I can think of is to write your own `SessionDelegate` subclass, override the delegate method, and call `super` by dispatching onto the `rootQueue`. But if you're already using...

We can probably expand the computed property to cover more cases with relevant associated `URL`s, we just need to be careful to make sure the documentation reflects all the sources.