Daniel Alm
|
e3e2bfa3aa
Fix a few memory leaks related to unreleased slices in observers and metadata arrays.
|
7 年之前 |
Tim Burks
|
36ea2c6a2d
Updates following review from @rebello95.
|
7 年之前 |
Tim Burks
|
d9ab6746da
Fix a few problems found running "pod spec lint".
|
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
|
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.
|
7 年之前 |
Daniel Alm
|
5d322044ed
Add tests to verify the behavior of canceling client and server calls.
|
7 年之前 |
Daniel Alm
|
da28b9aec2
Change the `ServerSession`s such that errors thrown during operation are returned to the client.
|
7 年之前 |
Daniel Alm
|
f6d4341682
Make `Server` retain its active handlers without having to resort to a `handlers` set.
|
7 年之前 |
Daniel Alm
|
c1b54e679a
Fix how the server handles unknown methods (broken by me in ac7979d5, I had forgotten that sending initial metadata is required).
|
7 年之前 |
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`.
|
7 年之前 |
Daniel Alm
|
800cea150f
Tweak the visibility of `Handler.call`.
|
7 年之前 |
Daniel Alm
|
ac7979d5e0
Ensure that errors in client calls are always provided to the user.
|
7 年之前 |
Tim Burks
|
6a408655fa
Minor file reorganization in Sources/SwiftGRPC.
|
7 年之前 |