zeliard
179be50ad3
merge VS solutions file from upstream master
10 years ago
Abhishek Kumar
d774c5cadb
Test client stream cancellation and fix bug exposed by the test.
10 years ago
Vijay Pai
fad38ba430
Add client-side marks for proto processing.
...
Need to go in and fill in tag later
10 years ago
Nicolas Noble
89219162dd
Refactoring std::chrono out.
10 years ago
Yang Gao
e9866e977e
resolve comment
10 years ago
Yang Gao
b53af532af
Bug fix. User can destroy status after calling Finish and we should keep a copy of it instead of a pointer
10 years ago
vjpai
df9f764bf8
Revert "Allow nullptr to be passed in if user doesn't care about tag"
...
This reverts commit 4cba0ca39c
.
10 years ago
vjpai
4cba0ca39c
Allow nullptr to be passed in if user doesn't care about tag
...
for next,asyncnext
10 years ago
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
10 years ago
Yang Gao
b7b965c842
Make Next free of time_point to timespec conversion
10 years ago
Yang Gao
993d540e37
covert test to use generic stub
10 years ago
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
10 years ago
vjpai
7aadf46fdb
Change to std::chrono and add a test.
10 years ago
Vijay Pai
3e0a46a1c4
Change behavior to properly account for possibility of NULL
...
tag. This can happen if the tag is actually an integer being
typecast to void*
To avoid breaking the API of existing Next calls, I've made
a new AsyncNext method with a tri-state return that indicates
whether there is a shutdown, an actual event, or a timeout.
Still needs proper testing for the AsyncNext method specifically.
10 years ago
Vijay Pai
ee705f6d66
Add support for deadline on CompletionQueue::Next
...
If the deadline elapses, return true but have a null tag.
10 years ago
Yang Gao
5f4539f4e8
Service side should be done, it builds and existing tests pass
10 years ago
Yang Gao
ee7ab3db2f
Remove include google/protobuf/message.h as it should be covered in config.h
10 years ago
Yang Gao
7694c35d5f
Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
d24d13d6eb
Simplify TryPluck
10 years ago
Craig Tiller
492968f7d9
Server side cancellation receive support
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
645466e089
Initial sketch
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Yang Gao
2b7f537546
Add metadata test with rpc. Adding/fixing things to make it work
10 years ago
Yang Gao
caa5106c4f
also set got_message
10 years ago
Yang Gao
467d7bd414
When the entire op fails, the recv_message is always discarded.
10 years ago
Yang Gao
27658f41ba
Clear receive message buffer when adding it, so that any reused buffer will not appear when decoding fails.
10 years ago
Yang Gao
2cf952730d
Deserialization success should not override earlier failure
10 years ago
Craig Tiller
573523f127
clang-format
10 years ago
Yang Gao
0c7aafaa0c
change AddRecvMessage signature
10 years ago
Yang Gao
cbc427a955
allow null got_message
10 years ago
Craig Tiller
ec3257c120
Fix end2end leaks
10 years ago
Yang Gao
fd7199f64e
Add client side WaitForInitialMetadata for streaming.
10 years ago
Craig Tiller
0156752a66
Some streaming progress
10 years ago
Craig Tiller
504bd331ab
Make sure we get a close before stopping the server
10 years ago
Craig Tiller
4dd70173bd
This string is null terminated
10 years ago
Craig Tiller
47a573602a
Fix ownership
10 years ago
Yang Gao
968ca530b2
Add trailing metadata to client context and use it.
10 years ago
Craig Tiller
7596e7d12c
Tweak metadata sending
10 years ago
Yang Gao
2382293226
Make it compile
10 years ago
Yang Gao
f1258c4951
save before the change
10 years ago
Craig Tiller
bb5227fc39
Allow server to hook calls also, fix crash
10 years ago
Craig Tiller
a5c0e7bc46
Initial metadata fix
10 years ago
Yang Gao
a7c49ab077
minor improvement
10 years ago
Craig Tiller
854a30c73a
More implementation
10 years ago
Yang Gao
eb8e7cd922
Implement FinalizeResult
10 years ago
Craig Tiller
04c8ff0245
Fix FinalizeResult signature
10 years ago
Yang Gao
a52ea7bd1c
typo fix
10 years ago