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.
|
před 7 roky |
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.
|
před 7 roky |
Daniel Alm
|
0985a47176
Also add client-timeout tests and rename "ErrorHandlingTests" to "ConnectionFailureTests".
|
před 7 roky |
Daniel Alm
|
2ebe048765
Add tests to ensure that server-side timeouts are handled as expected.
|
před 7 roky |
Daniel Alm
|
cacd605004
Fix the SSL-enabled tests.
|
před 7 roky |
Daniel Alm
|
ac7979d5e0
Ensure that errors in client calls are always provided to the user.
|
před 7 roky |
Daniel Alm
|
285d9bfed6
Also rename the "gRPC" target to "SwiftGRPC".
|
před 7 roky |