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
yang-g
70fa0da7f1
add a test
9 years ago
Alistair Veitch
85afe71d4c
initial commit
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Craig Tiller
a2a7aa9374
Move parenthesis to compile
9 years ago
Nicolas "Pixel" Noble
1d43bc3ed3
Fixing copyrights.
9 years ago
Nicolas "Pixel" Noble
da71518169
Replacing grpc_max_auth_token_lifetime by an accessor.
9 years ago
Nicolas "Pixel" Noble
09121799b0
Removing gpr as a separated library.
9 years ago
Julien Boeuf
2757fa8b39
fixing test and clang-format.
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
c085e5c061
Fix copyrights
9 years ago
Craig Tiller
eced8ae3b3
Fix windows
9 years ago
Craig Tiller
a93a25f7bc
Update copyrights
9 years ago
Craig Tiller
6c39686dfa
Preparatory changes for work shedding
...
- cleanup: change grpc_iomgr_cb_func to take a bool instead of int
success
- cleanup: follow through with iomgr callback scheduling functions
- prepare: add a workqueue to offload to to grpc_exec_ctx_enqueue*
functions
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
Jan Tattermusch
a99687be96
Fix 32 bit linux tests
9 years ago
Craig Tiller
2c1c7d5473
Fix copyrights
9 years ago
Craig Tiller
b0f275e4af
Small testing fixes
...
- end2end test deadlines may complete before checking IsCancelled
=> don't expect it to be false in these cases
- add exponential backoff to port_posix
- ensure run_tests rebuilds targets with a regex I commonly use
9 years ago
David Garcia Quintas
b523c732d1
async_stream.h done. Compiles
9 years ago
David Garcia Quintas
2425bbbc55
Further work. Compiles. WIP
9 years ago
Craig Tiller
194824467c
Get subchannel index working
9 years ago
Jan Tattermusch
45be7ff6cf
fix compilation on windows
9 years ago
Craig Tiller
8cdba6644a
Subchannel index compiles
9 years ago
Alistair Veitch
ff14b44154
Don't use buf_size as input and output in encode
9 years ago
Alistair Veitch
c45d088ae7
Single encode function
9 years ago
Alistair Veitch
6670add667
keep status with tag set, eliminate tag_set_ntags
9 years ago
David Garcia Quintas
08a0a3306e
Made "codedgen" directories closed over #includes
9 years ago
Craig Tiller
5ffab69caa
Fix formatting
9 years ago
Craig Tiller
0eef9eef90
Fix copyrights
9 years ago
Craig Tiller
f08dc47935
Fix copyrights
9 years ago
Craig Tiller
5f735a64e1
Add CPU cost measurement, tune parameters, decrease default maxjobs
9 years ago
Craig Tiller
56c6b6ab0a
Use CPU cost modelling to increase parallelism
9 years ago
Craig Tiller
fb0a918155
Cap fling tests by time not rpcs processed
9 years ago
Craig Tiller
9e1e99aa72
Fix copyrights
9 years ago
Jan Tattermusch
5ef3b4e33c
fix code formatting
9 years ago
Jan Tattermusch
fd3d820920
fix copyrights
9 years ago
Jan Tattermusch
6633647822
improve decode_timeout implementation
9 years ago
Craig Tiller
b8958ef88a
Simplify avl stress test
9 years ago
Craig Tiller
ee36bce881
Update copyrights
9 years ago
Craig Tiller
fc051c9aa3
Run nosec tests again
9 years ago
Dan Born
36b24109a4
clang reformat
9 years ago
Alistair Veitch
a88a22166d
add creation status
9 years ago
Dan Born
9c12bc252e
Add shutdown_starting callbacks to tcp_server.
...
tcp_server_posix_test illustrates how this can be used to implement a
weak referencing mechanism.
9 years ago
Alistair Veitch
fc999adcc7
new iterator interface
9 years ago
Dan Born
b13a69da41
tcp_server_posix_test fixes.
...
Use grpc_shutdown() instead of grpc_iomgr_shutdown() to prevent
grpc_pick_unused_port_or_die() from inappropriately destroying global
state. Fix port allocation issues.
9 years ago
Dan Born
d890a217da
Fix port allocation in test.
9 years ago
Dan Born
a78ca38e10
clang reformat.
9 years ago
Dan Born
601acadc91
Test a server with multiple ports
9 years ago