Daniel Alm
|
2ebe048765
Add tests to ensure that server-side timeouts are handled as expected.
|
7 years ago |
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 years ago |
Daniel Alm
|
d3afc45926
Ensure that any operation groups enqueued on a completion queue after receiving SHUTDOWN still have their completion handlers called.
|
7 years ago |
Daniel Alm
|
90601ab831
Avoid an extra dispatch in `Call.sendWithoutBlocking`.
|
7 years ago |
Daniel Alm
|
f814a34949
Formatting: Replace several occurrences of `catch (let ...)` with just `catch`.
|
7 years ago |
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 years ago |
Daniel Alm
|
8b8e6c86dd
Replace some magic numbers with more understandable constants.
|
7 years ago |
Daniel Alm
|
b5e7c19cc2
Avoid displaying the comment about setting the generated project's indentation settings when running `make`.
|
7 years ago |
Daniel Alm
|
800cea150f
Tweak the visibility of `Handler.call`.
|
7 years ago |
Daniel Alm
|
17b32f51bb
Fix a potential race condition where operation group completion handlers could get called twice, as well as an unsynchronized access to `CompletionQueue.operationGroups` that should be synchronized.
|
7 years ago |
Daniel Alm
|
4cae6e5625
Fix gRPCTests:
|
7 years ago |
Daniel Alm
|
730699d789
Replace a few semaphores with `call.messageQueueEmpty.wait()`.
|
7 years ago |
Daniel Alm
|
9916aeaa36
Consolidate a few more calls into `StreamSending`.
|
7 years ago |
Daniel Alm
|
cacd605004
Fix the SSL-enabled tests.
|
7 years ago |
Daniel Alm
|
be3fae437b
Also extract streaming sending methods into a dedicated `StreamSending` protocol.
|
7 years ago |
Daniel Alm
|
ac7979d5e0
Ensure that errors in client calls are always provided to the user.
|
7 years ago |
Daniel Alm
|
263e66bad2
Use Apple's "fake" zlib package instead of Zewo's real zlib code.
|
7 years ago |
Daniel Alm
|
2f93962b91
Add a public initializer for `ServerSessionTestStub`, to make it actually usable in tests.
|
7 years ago |
Daniel Alm
|
56652765b2
Add a script to fix the project's indentation settings.
|
7 years ago |
Tim Burks
|
13351fffa4
Merge pull request #183 from postmates/add_tests
|
7 years ago |
Chris Vanderschuere
|
4489716b93
Fix race condition
|
7 years ago |
Chris Vanderschuere
|
e4914ebd4f
Fix isEmpty check
|
7 years ago |
Chris Vanderschuere
|
fc55b4c601
Converted to 2-spaces
|
7 years ago |
Chris Vanderschuere
|
51861df69b
Added basic tests for server & bidirectional streaming
|
7 years ago |
Tim Burks
|
975822c1dc
Merge pull request #182 from grpc/move-examples
|
7 years ago |
Tim Burks
|
12df04f87e
move examples under Sources/Examples
|
7 years ago |
Tim Burks
|
c89e9aba50
Merge pull request #181 from grpc/runtime-simplifications
|
7 years ago |
Tim Burks
|
6a408655fa
Minor file reorganization in Sources/SwiftGRPC.
|
7 years ago |
Tim Burks
|
fe50a77003
Merge pull request #180 from MrMage/fix-podspec
|
7 years ago |
Tim Burks
|
a964f79f0c
Merge pull request #178 from MrMage/run-travis-on-macos
|
7 years ago |