Tim Burks
|
5ebf7a333c
Merge pull request #195 from MrMage/public-setters
|
7 years ago |
Daniel Alm
|
9124aeeb6f
Make the `metadata`, `host` and `timeout` properties on `ServiceClient` writable.
|
7 years ago |
Tim Burks
|
f57b9c3d06
Merge pull request #187 from grpc/name-casing
|
7 years ago |
Tim Burks
|
7644249531
Merge branch 'master' of github.com:grpc/grpc-swift into name-casing
|
7 years ago |
Tim Burks
|
eb572633b0
Merge pull request #191 from MrMage/still-more
|
7 years ago |
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 years ago |
Daniel Alm
|
5248b05962
Documentation fix.
|
7 years ago |
Daniel Alm
|
5415f16508
Have `make project` tell the user how to install the `xcodeproj` gem.
|
7 years ago |
Daniel Alm
|
8c45d3fd9a
Make sure to shut down a channel's completion queue once it is deallocated.
|
7 years ago |
Daniel Alm
|
abb9cf2dc2
Make trying to perform an operation on a shut-down completion queue throw an error, and add tests for that.
|
7 years ago |
Daniel Alm
|
093dd79a4c
Reduce the number of requests in `testUnaryLotsOfRequests` to 10k for faster test runtimes.
|
7 years ago |
Tim Burks
|
dd4d1cb64d
Merge pull request #188 from MrMage/even-more-improvements
|
7 years ago |
Daniel Alm
|
e68cec0db8
Add a simple API to provide a channel's connectivity state. (See #186.)
|
7 years ago |
Daniel Alm
|
9b9ba22eed
Try increasing the default timeout for server-cancelling tests to 5 seconds?
|
7 years ago |
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 years ago |
Daniel Alm
|
d8ac7d41f0
Fix GRPCTests, hopefully once and for all (see 415307ee for an explanation).
|
7 years ago |
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 years ago |
Tim Burks
|
f4d607b0bb
Only lower-case the first character of method names in generated clients.
|
7 years ago |
Tim Burks
|
951a20acba
Merge pull request #184 from MrMage/more-improvements
|
7 years ago |
Daniel Alm
|
5d322044ed
Add tests to verify the behavior of canceling client and server calls.
|
7 years ago |
Daniel Alm
|
8d07183369
Add a blocking variant of the `send` method to `ServerStreaming`.
|
7 years ago |
Daniel Alm
|
6af3914244
Add a method to `ServerSessionClientStreaming` to return an error status without a result.
|
7 years ago |
Daniel Alm
|
e7645b48ef
Add sample test suites to demonstrate how one would test client/server code.
|
7 years ago |
Daniel Alm
|
415307ee6f
Fix the GRPCTests again without using a sleep call:
|
7 years ago |
Daniel Alm
|
9c54d0a089
Try making Travis cache the SwiftPM dependencies and APT repositories, for faster CI builds.
|
7 years ago |
Daniel Alm
|
7935aebf14
Fix a minor error in the Travis build script.
|
7 years ago |
Daniel Alm
|
c9620048f5
Make the test expectations on `receive` consistent across Linux and macOS.
|
7 years ago |
Daniel Alm
|
9128b60c69
Make `OperationGroup` cache its `...Metadata` properties, as those methods actually *move* the metadata (so a second call to these methods would previously always return empty metadata objects).
|
7 years ago |
Daniel Alm
|
2313a9933f
Fix two compiler warnings.
|
7 years ago |
Daniel Alm
|
da28b9aec2
Change the `ServerSession`s such that errors thrown during operation are returned to the client.
|
7 years ago |