David Garcia Quintas
f31f096274
Use call context to propagare LR costs
8 years ago
Harvey Tuch
5f3cfe960f
Fix read from uninitialized memory bug in GrpcBufferWriter.
...
This commit fixes an issue in which the following sequence of operations
leads to use of uninitialized memory:
1. Caller invokes GrpcBufferWriter::Next(), and then makes use of 8191
bytes in the returned buffer (which is 8192 bytes in size).
2. Caller then returns the unused single byte via
GrpcBufferWriter::BackUp(). This method invokes
g_core_codegen_interface->grpc_slice_split_tail(), which causes
backup_slice_ to be a grpc_slice with one byte.
3. At the next invocation of GrpcBufferWriter::Next(), a reference to
the single byte grpc_slice is returned to the caller.
The problem here is that the returned reference is to the inlined buffer
in the grpc_slice, which is resident in slice_, not the location of the
buffer inside slice_buffer_ after
g_core_codegen_interface->grpc_slice_buffer_add() in
GrpcBufferWriter::Next(). As a result, any data the caller writes to the
returned void* data is lost.
The solution is to avoid inlined backup slices.
8 years ago
Craig Tiller
1bb53718bf
Disable writes_per_rpc on Windows
8 years ago
Jan Tattermusch
bd0b0546a6
windows compilation fixes
8 years ago
yang-g
988b47c977
Add metadata_map.h to build.yaml
...
Add missing files to BUILD
8 years ago
Craig Tiller
9a3997c853
Add a test verifying number of writes per RPC is reasonable
...
Mostly this is code copied from bm_fullstack and rephrased as a test.
I'm resisting the urge to unify it however, as I expect this code will evolve differently over time.
8 years ago
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97
.
8 years ago
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
8 years ago
Stanley Cheung
b39942f06f
Update boringssl to latest chromium-stable
8 years ago
Jan Tattermusch
1c6a144d69
fix ordering of deps in grpclb_test
8 years ago
ncteisen
9c7a08d250
Simplify cpp stress flags
8 years ago
Yuxuan Li
6fb04d6924
memory usage profiling for client call, client channel, server creation, server call and server channel.
...
fix bug. server: snapshot pass by pointer
8 years ago
Craig Tiller
032baa8308
Fix sanity: check_sources_and_headers
8 years ago
Craig Tiller
d7ee291d5f
Fix tests
8 years ago
Muxi Yan
dc739bd659
Remove packet coalescing testing on chttp2
8 years ago
Craig Tiller
2ef5a647bf
Add a test of finishing buffering with EOS
8 years ago
Craig Tiller
4e6247a23c
Fix sequential write buffering
8 years ago
Muxi Yan
8803ae8c3a
build changes
8 years ago
Mark D. Roth
4d2ea02129
Revert "Revert "Revert "Revert "Remove redundant includes from string.h and tmpfile.h""""
8 years ago
Craig Tiller
30268a99e0
Revert "Revert "Revert "Remove redundant includes from string.h and tmpfile.h"""
8 years ago
Craig Tiller
70a85ad617
Revert "Handle (and test) short call deadlines"
8 years ago
David Garcia Quintas
9460166968
Short deadlines: set Status on deadline
8 years ago
David Garcia Quintas
ff3112188b
Renamed google_benchmark submodule to benchmark
8 years ago
Mark D. Roth
2d317fbc57
Revert "Revert "Remove redundant includes from string.h and tmpfile.h""
8 years ago
Mark D. Roth
4eec0041f5
Revert "Remove redundant includes from string.h and tmpfile.h"
8 years ago
Sree Kuchibhotla
f989469fe3
Temporarily enable gpr_slice_* functions to not break api compatibility
8 years ago
Mark D. Roth
2502afbdcb
Fixed build.yaml and ran generate_projects.sh.
8 years ago
Mark D. Roth
8686cab11c
Use the same connector code for both secure and insecure clients.
8 years ago
Craig Tiller
7cdad96fc4
Fix foward declaration duplication
8 years ago
Craig Tiller
64b26567ad
First pass of slice interning facilities
8 years ago
yang-g
979abf6747
regenerate projects
8 years ago
Craig Tiller
25c3543a26
Fix sanity
8 years ago
Mark D. Roth
3d88341c54
Populate latency field in final_info.
8 years ago
Mark D. Roth
0e44a258cb
Fix C++ filter API and add test for it.
8 years ago
Vijay Pai
320ed13d3e
Deprecate grpc::thread and sync in favor of std::thread,mutex,etc
8 years ago
Vijay Pai
e140d5c60d
Regenerate all projects
8 years ago
Mark D. Roth
e127a39f45
Change tests to use channel args instead of fake_resolver query args.
8 years ago
Craig Tiller
7a34e48e5d
Codegen
8 years ago
Craig Tiller
c3350541e3
Generate build files
8 years ago
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
8 years ago
Mark D. Roth
452287607f
Add test for setting LB policy via C++ API.
8 years ago
Craig Tiller
93d802b986
Add full stack microbenchmark
8 years ago
Craig Tiller
42fea2af04
Initial google_benchmark integration: generated files
8 years ago
Harvey Tuch
7be1322b86
Restrict handshake_{client,server} to linux platform.
8 years ago
Harvey Tuch
62b2a9051c
Fix handshake_client bind flakes and build issues.
...
* Add port picking retries to handshake_client.
* Track vsprojects for new tests.
* Place tests in 'test' build target.
8 years ago
Craig Tiller
4f5ae75958
Fix build for import
8 years ago
Craig Tiller
dd2fa6482a
Add pid controller test
8 years ago
Craig Tiller
d879123a4f
Add estimator test
8 years ago
Makarand Dharmapurikar
e3dd1d7d11
modify stress_test command line options
...
Modify command line options to be consistent with interop_client.
8 years ago
Sree Kuchibhotla
920ed0c418
Modify Thread manager test
8 years ago