Vijay Pai
bedf57fe8c
Ref the collection only when it will be used (and later finalized)
9 years ago
murgatroid99
85474df7b3
Reverse changes to AVL code
9 years ago
Vijay Pai
2b5638668e
Drop the ref
9 years ago
Vijay Pai
5506bea349
Undo much of the previous commits so that only CallOpSet groups
...
with a Sneaky member are in a collection.
9 years ago
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
Alistair Veitch
0a7468a537
Add timespan support for win32 gpr_cv_wait.
9 years ago
murgatroid99
7a55684a13
Clang format and fix copyrights
9 years ago
murgatroid99
309830f6b8
Replace 'long' with 'int64_t' in public core headers
9 years ago
Craig Tiller
71ea4a1955
Make binary compatibility not the default
9 years ago
Nicolas "Pixel" Noble
221c9c74e7
Fixing inclusion of stdint.h
9 years ago
Masood Malekghassemi
10509a28c7
Fix Python Windows build
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
a628ac9f25
formatting
9 years ago
Alistair Veitch
2e6c1822f6
add missing CENSUS_API annotations
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Craig Tiller
e1a1031652
clang-format
9 years ago
Craig Tiller
9828aade97
Support falling back on older secure_getenv/getenv versions on older glibc
9 years ago
Nicolas "Pixel" Noble
13a8f5b877
32 bits is also a thing.
9 years ago
Nicolas "Pixel" Noble
b51ec5a4ba
Removing zookeeper's API for now.
9 years ago
Nicolas "Pixel" Noble
da71518169
Replacing grpc_max_auth_token_lifetime by an accessor.
9 years ago
Nicolas "Pixel" Noble
4fba286e4d
Adding windows support for gpr subprocesses.
9 years ago
Julien Boeuf
2757fa8b39
fixing test and clang-format.
9 years ago
Sree Kuchibhotla
3075c81028
Update comment on TryCancel() API
9 years ago
Craig Tiller
07871559e1
Add includes
9 years ago
Craig Tiller
74b611ccdd
copyrights
9 years ago
Craig Tiller
d6546c9640
clang-format
9 years ago
Craig Tiller
9b42637047
Add {GPR,GRPC,CENSUS}_API tags to public functions
9 years ago
Sree Kuchibhotla
f25c6ba229
Comments and format
9 years ago
Sree Kuchibhotla
7fa9d6f4c8
TryCancel() on ServerContext()
9 years ago
Julien Boeuf
aaebf7ae74
Changing the API to use a callback mechanism.
...
This is the agreed-upon solution.
9 years ago
Julien Boeuf
564b915503
Fixing copyright.
9 years ago
Craig Tiller
2d50f37047
Fix copyrights, formatting
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
Julien Boeuf
a50da4757a
Addressing comments.
...
The new API is now actually useful...
9 years ago
Julien Boeuf
373debd5c0
Adding a function to override the ssl default roots path.
...
Fixes the first part of #4834 .
9 years ago
Nicolas "Pixel" Noble
1d44510083
Tidying things up.
9 years ago
vjpai
a24e9d774c
Sanity checks and asan fix
9 years ago
vjpai
0c31b60805
Sanity failures (copyright, clang-format)
9 years ago
Craig Tiller
17b5047e46
Fix copyrights
9 years ago
Craig Tiller
64616496e2
Alternative ownership for global callbacks
9 years ago
Nicolas "Pixel" Noble
742eac1814
Cleaning up Windows compilation.
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