Commit History

Author SHA1 Message Date
  SebastianThiebaud 94e599bbc0 Add channel arguments 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 5d322044ed Add tests to verify the behavior of canceling client and server calls. 7 years ago
  Daniel Alm 415307ee6f Fix the GRPCTests again without using a sleep call: 7 years ago
  Daniel Alm da28b9aec2 Change the `ServerSession`s such that errors thrown during operation are returned to the client. 7 years ago
  Daniel Alm 7ed242e571 "Fix" GRPCTests again by inserting a small delay in between sends. We really don't want to need such delays, so this is only a temporary fix until I finally find the proper underlying cause. 7 years ago
  Daniel Alm 0985a47176 Also add client-timeout tests and rename "ErrorHandlingTests" to "ConnectionFailureTests". 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 4cae6e5625 Fix gRPCTests: 7 years ago
  Daniel Alm 730699d789 Replace a few semaphores with `call.messageQueueEmpty.wait()`. 7 years ago
  Daniel Alm cacd605004 Fix the SSL-enabled tests. 7 years ago
  Daniel Alm ac7979d5e0 Ensure that errors in client calls are always provided to the user. 7 years ago
  Chris Vanderschuere 4489716b93 Fix race condition 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
  Daniel Alm 285d9bfed6 Also rename the "gRPC" target to "SwiftGRPC". 7 years ago