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.
|
há 7 anos atrás |
Daniel Alm
|
5d322044ed
Add tests to verify the behavior of canceling client and server calls.
|
há 7 anos atrás |
Daniel Alm
|
da28b9aec2
Change the `ServerSession`s such that errors thrown during operation are returned to the client.
|
há 7 anos atrás |
Daniel Alm
|
f6d4341682
Make `Server` retain its active handlers without having to resort to a `handlers` set.
|
há 7 anos atrás |
Daniel Alm
|
c1b54e679a
Fix how the server handles unknown methods (broken by me in ac7979d5, I had forgotten that sending initial metadata is required).
|
há 7 anos atrás |
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`.
|
há 7 anos atrás |
Daniel Alm
|
800cea150f
Tweak the visibility of `Handler.call`.
|
há 7 anos atrás |
Daniel Alm
|
ac7979d5e0
Ensure that errors in client calls are always provided to the user.
|
há 7 anos atrás |
Tim Burks
|
6a408655fa
Minor file reorganization in Sources/SwiftGRPC.
|
há 7 anos atrás |