Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Vijay Pai
8aff94558c
De-experimentalize C++ callback API ( #25728 )
...
* De-experimentalize callback API
* Make FromServerContext based on ServerContextBase
* Fix lambda
* Fix headers
* De-experimentalize tests
* clang-format
* Fix consistency checks
* wip
* Fix const-ness of callback client read RPC requests
* Fix golden file
* Give full route_guide callback client example with Hold etc
* Complete example route-guide server
* De-experimentalize test services
* Omit unneeded using
* Remove some uses of non-experimental macro from test
* clang-format examples
* De-experimentalize async stub calls
* Remove experimental namespace use in qps, ubms
* De-experimentalize alarms, generic stubs, and context allocator
* De-experimentalize SetContextAllocator
* clang-format
* Fix conflicts
* Leave obsolete API in place until users can be migrated
4 years ago
Vijay Pai
0f80378a21
Resolve race between OnReadDone(ok=false) and IsCancelled ( #26245 )
...
* Resolve and test race between OnReadDone(ok=false) and IsCancelled
* Fix retry case
* Fix health check case
* Address reviewer comments.
* ADD TODO requested by markdroth
4 years ago
Vijay Pai
fe2e9d6803
Properly count messages sent
4 years ago
Vijay Pai
0ab6db4fe8
Make sure that some ops don't start concurrently with Finish
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Vijay Pai
b269fdbf8b
Don't mark server RPC canceled if finished with non-OK status
5 years ago
Vijay Pai
5085805063
Remove some excessive logs
5 years ago
Donna Dionne
8bab28db08
Rearrange test_service_impl.h/cc to fix build failures.
5 years ago
Donna Dionne
71aef940c3
Code review comments: added invalid config tests and restructured
...
testing code.
5 years ago
Donna Dionne
1ae804c8c0
Fixing code review comments:
...
- Fixing for comments in all except for test file
- Multi-purpose test_service_impl.h as oppose
to creating new files.
5 years ago
Donna Dionne
f3f11cc21c
Added new RPC methods to test routing different RPCs to different
...
backends.
5 years ago
Vijay Pai
3620abf059
Properly follow precise conditions for callback inlining
5 years ago
Vijay Pai
c34999ae2c
Remove unneeded curly braces
5 years ago
Vijay Pai
d173d3fde8
Fix cancellation to make it easier to follow
5 years ago
Vijay Pai
3ade3e84a9
Make use of alarm in test service more robust
5 years ago
Vijay Pai
24483d2afd
Address reviewer comments
5 years ago
Vijay Pai
9be35f74c0
Make CancelDelayedRpc test not use sleeps for client-server sync
5 years ago
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
5 years ago
Vijay Pai
e35c869aaf
Remove unused-parameter warnings, round 2 (19 of 19)
5 years ago
Vijay Pai
20c08dbc7a
Add client-side unary reactor model
6 years ago
Vijay Pai
41c6cba9f5
Make sure that OnCancel happens after OnStarted
6 years ago
Mark D. Roth
ce2af3b958
Remove noisy log message.
6 years ago
Prashant Jaikumar
4e9e662729
Fixed bug in CFStream endpoint.
...
We were failing to return an error when the transport tried to write to an endpoint that was in an errored state.
6 years ago
Vijay Pai
f12f862d28
Strengthen test
6 years ago
Vijay Pai
0cb0cdb7e3
Address reviewer comments on test
6 years ago
Vijay Pai
04a6b8467c
Support callback on cancellation of server-side unary RPCs
6 years ago
Vijay Pai
397bdd6b7b
Fix a bug that was exposed but unrelated...
6 years ago
Vijay Pai
8feb16171a
Add an expectation and fix a ServerContext bug
6 years ago
Vijay Pai
a47c979ba0
Enable TCP callback tests if the event engine allows
6 years ago
Hope Casey-Allen
c12aabc6a7
Clang format
6 years ago
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
6 years ago
Hope Casey-Allen
4a6e165328
Add service definition to sync server
6 years ago
Vijay Pai
dac2066a1c
Make StartCall() a releasing operation so that you can pile up ops
6 years ago
Hope Casey-Allen
470ea17843
Debugging unimplemented error in CheckClientInitialMetadata
6 years ago
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
6 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
yang-g
98cd36e2c3
Add a test
7 years ago
Vijay Pai
07165cbaf2
Only put server to sleep when explicitly requested
7 years ago
Vijay Pai
9f10a587a9
Make short deadlines actually expire
7 years ago
ncteisen
9bee3086c3
Make stream responses togglable via context
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nicolas "Pixel" Noble
3726e3d37b
Moving gtest include down.
...
In some cases, depending on the direction of the wind, and the phase of the moon, gtest can interfere with protobuf badly with macros cross-pollution between the two projects. Moving the gtest inclusion at the end makes the problem go away.
8 years ago
yang-g
9cb19b8e24
support C++ error_details
8 years ago
yang-g
f4c8addded
support C++ error_details
8 years ago
Yuxuan Li
34894e4b1c
Implemented stream coalescing design
...
(RFC:https://github.com/grpc/proposal/pull/3 ). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
8 years ago
yang-g
23f777df08
When there is an error from filters (such as max recv message size too
...
large), add an error to the batch to avoid emitting new rpc on the
server side in C++.
8 years ago
Vijay Pai
b0a6be2b8f
Remove some unnecessary new/delete patterns
8 years ago
David Garcia Quintas
c79b0650d2
removed codegen/log.h
8 years ago
Vijay Pai
a63271c77f
Deal with to_string, proper usage of nullptr, and lack of map::emplace
9 years ago