Nate Armstrong
|
18af90f2e0
Add tests for mutual auth
|
vor 7 Jahren |
Daniel Alm
|
e1442587fe
Make ServiceServer log calls to unknown methods.
|
vor 7 Jahren |
Daniel Alm
|
588963a14a
Replace `Metadata.description` with `Metadata.dictionaryRepresentation.description`.
|
vor 7 Jahren |
Daniel Alm
|
e00e1e8e80
Fix several completion queue leaks in tests; ensure that cancelling a session server-side always shuts down the corresponding completion queue.
|
vor 7 Jahren |
Daniel Alm
|
fd60668194
Streamline the interface of the server-side response handling code: In the default (successful) case, most request handlers can now simply return `.ok` and have `ServiceServer` handle sending back the status for them. This also streamlines the `run()` implementations of the `ServerSession` subclasses.
|
vor 7 Jahren |
Daniel Alm
|
9375cad761
Remove several now-unused DispatchQueue arguments.
|
vor 7 Jahren |
Daniel Alm
|
78a1291789
Fix two huge memory leaks in `cgrpc_call` and `cgrpc_handler`. These would all GRPC call objects to never get released, which in turn caused their completion queues and associated file descriptors to never get released. This became apparent after ~3-5k requests on macOS.
|
vor 7 Jahren |
Daniel Alm
|
c1b54e679a
Fix how the server handles unknown methods (broken by me in ac7979d5, I had forgotten that sending initial metadata is required).
|
vor 7 Jahren |
Daniel Alm
|
f814a34949
Formatting: Replace several occurrences of `catch (let ...)` with just `catch`.
|
vor 7 Jahren |
Daniel Alm
|
ab21b2c464
Cleanup: Replace as many methods on `Handler` with their corresponding `Call` equivalents as possible, so that only server-specific methods are left in `Handler`.
|
vor 7 Jahren |
Daniel Alm
|
ac7979d5e0
Ensure that errors in client calls are always provided to the user.
|
vor 7 Jahren |
Tim Burks
|
6a408655fa
Minor file reorganization in Sources/SwiftGRPC.
|
vor 7 Jahren |