Tim Emiola
154db73ff9
Remove usage of xray
...
- xray was useful during dev testing but is neither a dev or runtime dep
- its presence causes issues for libraries that handle signals themselves
Also
- updates grpc.gemspec with requirements
10 years ago
Tim Emiola
c85c1ae463
Add SimpleCov coverage set up for gRPC ruby
10 years ago
Tim Emiola
a80aa7d86a
clarify test descriptions
10 years ago
Craig Tiller
5c019ae2d1
clang-format
10 years ago
Craig Tiller
eb40a538cb
Fix remaining allocation bugs
10 years ago
Craig Tiller
bd22271d00
Random small fixes
10 years ago
Craig Tiller
76f5d46d1b
clang-format
10 years ago
Craig Tiller
8b282cbd0b
Got rid of GRPC_SEND_START
10 years ago
Tim Emiola
9a0ae0380c
Adds support for updating the output metadata to calls
10 years ago
Tim Emiola
8661a43f78
Propagate metadata in BadStatus
...
- allow BadStatus to contain metadata that's populated by keyword args
- on servers, convert raised BadStatus metadata to trailers
- on clients, convert trailers to BadStatus metadata when raising BadStatus
10 years ago
Tim Emiola
1c5faea673
Allow BadStatus to contain metadata
10 years ago
Tim Emiola
3fd2be2e32
Adds a hook for returning the client connect metadata
10 years ago
Craig Tiller
9c1043e757
Progress towards transport using metadata batches
10 years ago
Tim Emiola
f9e77b3972
Refactor: Shorter methods in RpcServer
10 years ago
Craig Tiller
205aee1c82
Move metadata batching to stream_op
10 years ago
Craig Tiller
87d5b19da6
clang-format
10 years ago
Tim Emiola
e6be7f31e4
Refactor: Move the Pool out from RpcServer
10 years ago
Craig Tiller
6902ad2e9c
Switching to batch oriented metadata passing
10 years ago
Tim Emiola
bf6d78c8e4
Fixes error with the keep-alive
10 years ago
Tim Emiola
321871ee6e
Updates the example servers to use #run_till_terminated
10 years ago
Tim Emiola
9558460b77
Adds a #run_till_terminated func to RpcServer
...
- adds signal handling to RpcServer
- ensures that very little behaviour occurs in the signal handling context
- adds #run_till_terminated that launches a server in a thread and then handles
signals that can be used to stop it.
10 years ago
Julien Boeuf
9d005cc5e2
Addressing comments.
10 years ago
Craig Tiller
277d3cff7e
clang-format
10 years ago
Craig Tiller
15f9f95312
Use channel tags to call methods
10 years ago
Craig Tiller
3beef68d39
Populate channel tags for methods
10 years ago
Craig Tiller
62d2896665
Add facility to register methods in C++
10 years ago
Craig Tiller
53a38d4699
Make RpcMethod constructor take all args
10 years ago
Craig Tiller
bd6c61860a
Precreate RpcMethod instances
10 years ago
Craig Tiller
b20111caea
clang-format
10 years ago
Craig Tiller
08453374b2
Introduce ahead-of-time registration of (method,host) pairs
10 years ago
Tim Emiola
ff1ae501fa
Removes nodejs pubsub example
10 years ago
Yuki Yugui Sonoda
22887917f5
Avoid implicit function declarations
10 years ago
Yuki Yugui Sonoda
f0eee5f250
Make some functions static
...
They don't need to be extern
10 years ago
Yuki Yugui Sonoda
99eb9f94bf
Fix a linkage error with mac clang
...
Prevent symbol cache variables from being instantiated multipe times.
10 years ago
Yuki Yugui Sonoda
3c88e5d6e1
Make some global variables static
...
They do not need to be extern.
10 years ago
Yuki Yugui Sonoda
29ee1dbc93
Use TypedData for GRPC::Core::ServerCredentials
10 years ago
Yuki Yugui Sonoda
9232f124e0
Use TypedData for GRPC::Core::Server
10 years ago
Yuki Yugui Sonoda
d441c2e5b3
Use TypedData for GRPC::Core::TimeSpec
10 years ago
Yuki Yugui Sonoda
a87924e646
Use TypedData for GRPC::Core::Credentials
10 years ago
Yuki Yugui Sonoda
bf256ae07a
Use TypedData for GRPC::Core::CompletionQueue
10 years ago
Yuki Yugui Sonoda
d98db4a647
Use TypedData for TmpChannelArgs
10 years ago
Yuki Yugui Sonoda
c9b7d1cb04
Use TypedData for GRPC::Core::Channel
10 years ago
Yuki Yugui Sonoda
961f0bcc15
Use TypedData for GRPC::Core::MetadataArray
10 years ago
Yuki Yugui Sonoda
76801d2190
Use TypedData_XXX instead of Data_XXX for GRPC::Core::Call
...
Data_XXX family is being deprecated in Ruby 2.x.
10 years ago
Tim Emiola
041e039ed2
Updates gem dependencies, style rules
10 years ago
Tim Emiola
b5bcca44df
Adds interop cancellation tests
10 years ago
Tim Emiola
a10a8432f3
Corrects handling of status during bidi call orchestration.
...
- Ensures that invalid status are raised as exceptions
- Ensures that exceptions during the write thread are bubbled up to the starting
thread
Also - improves the debug messages during the BiDi calls
10 years ago
Tim Emiola
1b39916bba
Adds an explicit Cancellation exception
...
- uses Forwardable to provide access the @call within an ActiveCall
- removes redundant methods from ActiveCall
10 years ago
Julien Boeuf
28d75d9349
Adding option to add a null terminator when loading a file.
...
- This will take care of a potential issue with default credentials
where the slice pointer is casted as const char * for APIs that need a
null terminated string.
10 years ago
Craig Tiller
9aadeb815b
Get GRPC_TRACE tcp working again
10 years ago