Vijay Pai
7e3f9b0178
Forgot to include these edits in the last commit
9 years ago
Vijay Pai
38004a8e39
Wrap groups of related CallOpSet's into a ref-counted structure
...
whenever appropriate so as to avoid any unintentional free-before-use
problems.
Potential performance issue: this triggers an additional allocation
for each Async call initiation, along with the cost of ref-counting
shared_ptr . But this is worth it for the additional safety provided
here without any change to the exposed C++ API.
9 years ago
Craig Tiller
a44cbfc11c
Fix race condition in transport API
...
Specifically:
Receiving trailing and initial metadata had to be published in
lock-step.
=> If we wanted trailing metadata, we might not get initial metadata processed
until messages arrived.
=> Compression code had no idea what codec to use.
To fix it, publish initial metadata as soon as it's ready (this is a
transport API change).
Requires changes to grpc_call to ensure ordering in processing initial
metadata and messages (one may be delayed).
Exposed at least some bugs in C++ where we never read initial metadata.
I expect at least one more similar bug.
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Sree Kuchibhotla
3075c81028
Update comment on TryCancel() API
9 years ago
Sree Kuchibhotla
f25c6ba229
Comments and format
9 years ago
Sree Kuchibhotla
7fa9d6f4c8
TryCancel() on ServerContext()
9 years ago
David Garcia Quintas
d79ef3af71
Fixed wrong usage of global var
9 years ago
David Garcia Quintas
6523391782
sanity fixes
9 years ago
David Garcia Quintas
5a9462339d
copyrights
9 years ago
David Garcia Quintas
6bd7b97dc6
DONE!!1one
9 years ago
David Garcia Quintas
e1300deb87
After GrpcLibrary refactoring. Compiles and passes. WIP still
9 years ago
David Garcia Quintas
6a48405ed0
pre sync_stream.cc creation. Does not compile
9 years ago
David Garcia Quintas
b523c732d1
async_stream.h done. Compiles
9 years ago
David Garcia Quintas
3452ae27c1
copyrights
9 years ago
David Garcia Quintas
2425bbbc55
Further work. Compiles. WIP
9 years ago
David Garcia Quintas
28991142fa
Improved a couple error messages
9 years ago
David Garcia Quintas
ddcb53a9de
made codegen targets in build.yaml
9 years ago
David Garcia Quintas
1d9b8079cb
clang-format
9 years ago
David Garcia Quintas
a43aadd7e1
fixed copyrights
9 years ago
David Garcia Quintas
08a0a3306e
Made "codedgen" directories closed over #includes
9 years ago
David Garcia Quintas
f3ddb7c55a
clang-format
9 years ago
David Garcia Quintas
6190854157
updated copyrights
9 years ago
David Garcia Quintas
1f4e72c19c
override -> GRPC_OVERRIDE
9 years ago
David Garcia Quintas
44f3249018
Introduced ServerInterface
9 years ago
yang-g
ad63510102
Add a test with two methods generic
9 years ago
yang-g
1ac6f4594e
warn user when they forget register generic service
9 years ago
yang-g
f48766d347
fix copyright
9 years ago
yang-g
0bbc87f599
Add generic support
9 years ago
David Garcia Quintas
e50c6c2f5e
WIP. Added ChannelInterface
9 years ago
yang-g
bef0d8744e
Support sync/async methods in the same service
9 years ago
Craig Tiller
15f383c6cc
Exploratory refactoring for mixed sync/async methods on the same C++ service
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Jan Tattermusch
5dc93c363b
include climits
9 years ago
Jan Tattermusch
5b155e5674
more win x64 fixes
9 years ago
yang-g
92f4a155d8
add doxygen comment
9 years ago
yang-g
a23f17b123
add server_builder_option
9 years ago
Craig Tiller
52a2ebadcb
Two argument variant for grpc::thread
9 years ago
Craig Tiller
ddf3a511aa
Add clang-format to sanity
10 years ago
Craig Tiller
04456843cd
Windows fixes
10 years ago
yang-g
e21908fcee
impl
10 years ago
yang-g
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
10 years ago
yang-g
9e2f90cd06
headers reorg
10 years ago
yang-g
ef00308e39
remove internal_stub
10 years ago
yang-g
c2bd8a6d1a
Fix server side and generic stub
10 years ago
yang-g
431f8c2b5f
make registermethod private
10 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
10 years ago
yang-g
b9b9d6ee8e
add a README for include/grpc++/impl
10 years ago
Craig Tiller
d6c98df792
clang-format all source
10 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
10 years ago