Nate Armstrong
|
18af90f2e0
Add tests for mutual auth
|
7 жил өмнө |
Daniel Alm
|
dc35994f21
Make the server dispatch each request handler on its own thread and make the `ServerSession` request handler implementations run synchronously; this saves one potentially costly asynchronous dispatch.
|
7 жил өмнө |
Daniel Alm
|
9375cad761
Remove several now-unused DispatchQueue arguments.
|
7 жил өмнө |
Daniel Alm
|
b1788479bb
Spin up dedicated queues for some operations.
|
7 жил өмнө |
Daniel Alm
|
2577eae9db
Move _all_ completion queue shutdown operations into the Swift layer, to better enforce that the queue does not accept any new operations once it has been shut down.
|
7 жил өмнө |
Daniel Alm
|
dc451e4984
Shift the responsibility for draining and destroying a completion queue to the queue itself. This is needed because it appears that otherwise, the underlying completion queue gets deallocated during its spinloop, which it doesn't like.
|
7 жил өмнө |
Daniel Alm
|
f6d4341682
Make `Server` retain its active handlers without having to resort to a `handlers` set.
|
7 жил өмнө |
Daniel Alm
|
cf323b474c
Get rid of the `callbackQueue` argument for `CompletionQueue.runToCompletion`, as we only use it on one occasion, and on that occasion we already dispatch the completion block on that queue anyway.
|
7 жил өмнө |
Daniel Alm
|
f814a34949
Formatting: Replace several occurrences of `catch (let ...)` with just `catch`.
|
7 жил өмнө |
Daniel Alm
|
8b8e6c86dd
Replace some magic numbers with more understandable constants.
|
7 жил өмнө |
Tim Burks
|
6a408655fa
Minor file reorganization in Sources/SwiftGRPC.
|
7 жил өмнө |