Commit Graph

2001 Commits

Author SHA1 Message Date
ncteisen b307fdeb6e Merge branch 'bm_error' of https://github.com/ctiller/grpc into to-grpc-err-is-human 2017-02-23 11:21:12 -08:00
Craig Tiller 7f4d30a032 Separate CAS/ADD RMWs 2017-02-21 10:24:00 -08:00
Craig Tiller f3dec9c995 Add counters for rmw atomic operations to microbenchmarks 2017-02-21 10:02:31 -08:00
ncteisen 2c94aaeaba Add gpr_ref_is_unique 2017-02-17 16:29:28 -08:00
yang-g 55c6ebfd7a Merge branch 'master' into health 2017-02-17 09:55:03 -08:00
yang-g f07ed45439 Restore the NextMessageSize for streamed calls 2017-02-16 23:01:28 -08:00
Yang Gao 20ce37694b Merge pull request #9696 from yang-g/network_status_shard
Remove network_status_tracker code
2017-02-16 15:25:15 -08:00
David G. Quintas ca452f432e Merge pull request #9648 from dgquintas/lr_sans_md
Use call context to propagare LR costs
2017-02-16 12:46:11 -08:00
yang-g 6955c5e8d2 Remove code from network_status_tracker.c Pull the hash function to useful.h 2017-02-16 09:39:27 -08:00
David Garcia Quintas fafe995900 comments 2017-02-15 10:53:25 -08:00
Muxi Yan ccbfb461d0 Merge remote-tracking branch 'upstream/master' into packet-coalescing-core 2017-02-14 09:32:21 -08:00
David Garcia Quintas f31f096274 Use call context to propagare LR costs 2017-02-13 16:26:00 -08:00
Dan Born 8886a81865 Expand wildcard IP addresses on servers. 2017-02-09 20:05:57 -08:00
Yang Gao f0ef22496c Merge pull request #9629 from yang-g/qqq
Add a PreServerStart in global server callbacks
2017-02-08 10:03:42 -08:00
Craig Tiller 3f48430beb Merge pull request #9616 from ctiller/disable_bdp
Add a hook to disable BDP probing
2017-02-07 15:14:45 -08:00
yang-g 076bac017b Remove async 2017-02-07 13:50:36 -08:00
yang-g 13a537bcae merge with head 2017-02-07 13:13:20 -08:00
yang-g f2fe4f7dbd Add a PreServerStart in global server callbacks 2017-02-07 12:47:22 -08:00
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.
2017-02-07 15:45:44 -05:00
Craig Tiller 78e6451dae Add a hook to disable BDP probing 2017-02-07 07:03:26 -08:00
Craig Tiller 5395aba78b Merge github.com:grpc/grpc into bwest 2017-02-02 10:29:04 -08:00
David G. Quintas 29512ae6a1 Merge pull request #7617 from sebright/fix-typos-in-comments
Fix typos in comments in census.h
2017-02-02 09:18:06 -08:00
Muxi Yan 2688eb143e Merge remote-tracking branch 'upstream/master' into packet-coalescing-core 2017-02-01 15:23:41 -08:00
Muxi Yan 0a2fae9aed Dynamically enable packet coalescing by channel args 2017-02-01 15:04:16 -08:00
Muxi Yan eb5ee45eec Revert "Dynamically enable/disable packet coalecsing and test it"
This reverts commit 60ab7ef00a.
2017-02-01 11:57:33 -08:00
yang-g edcde054c6 Merge remote-tracking branch 'upstream/master' into health 2017-01-30 09:58:46 -08:00
Craig Tiller 95ccbc2d6f Merge branch 'bm_countwrites' into bwest 2017-01-27 14:10:09 -08:00
Craig Tiller 68bb6a8453 Merge github.com:grpc/grpc into rollfwd 2017-01-27 06:52:13 -08:00
Craig Tiller e70904fe8d Merge branch 'bwest' into bm_countwrites+bwest 2017-01-26 14:46:51 -08:00
Craig Tiller 48af8b2721 Merge github.com:grpc/grpc into bwest 2017-01-26 13:58:52 -08:00
Craig Tiller 4edd56751f Merge github.com:grpc/grpc into maxmsgsz 2017-01-26 13:50:14 -08:00
yang-g a7198021a6 merge with head 2017-01-26 13:23:52 -08:00
Craig Tiller afceb2edbd Merge github.com:grpc/grpc into rollfwd 2017-01-26 12:21:28 -08:00
Mark D. Roth 448c1f002c Move parameters for all grpc_op types into their own sub-structs. 2017-01-25 10:44:30 -08:00
Craig Tiller 0f2e2e4a42 Merge github.com:grpc/grpc into rollfwd 2017-01-24 10:53:20 -08:00
Muxi Yan 60ab7ef00a Dynamically enable/disable packet coalecsing and test it 2017-01-23 23:00:35 -08:00
Craig Tiller a53c193aa5 Merge github.com:grpc/grpc into faster_slices 2017-01-23 14:54:31 -08:00
Craig Tiller 7c70b6c144 Revert "Revert "Metadata handling rewrite""
This reverts commit 5e01e2ac97.
2017-01-23 07:48:42 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Craig Tiller 7fa7d6817e Fix core banned functions 2017-01-20 16:01:43 -08:00
Craig Tiller da9de8988b Merge github.com:grpc/grpc into maxmsgsz 2017-01-20 15:42:47 -08:00
Craig Tiller 405cfbefce Merge github.com:grpc/grpc into faster_slices 2017-01-20 14:04:41 -08:00
Craig Tiller ff1f160a26 Merge github.com:grpc/grpc into bwest 2017-01-20 13:55:35 -08:00
Craig Tiller b7b7486c4b Merge github.com:grpc/grpc into metadata_filter 2017-01-20 11:31:47 -08:00
Craig Tiller ab4796ec6d Make move_first linear 2017-01-19 15:00:53 -08:00
Craig Tiller c07c7f7f96 Merge branch 'tweak_slice_buffer' of github.com:sreecha/grpc into blah 2017-01-19 14:59:46 -08:00
Vijay Pai aeee09eacc Merge pull request #8830 from vjpai/its_compat
C++11: Support compat with 1.0.x generated PB files
2017-01-19 14:07:05 -08:00
Craig Tiller 1d77059e4b Fix integer overflow 2017-01-19 11:44:42 -08:00
Vijay Pai 3cdee02893 Merge branch 'master' into its_compat 2017-01-19 10:42:08 -08:00
Craig Tiller 62f28bfcf0 Remove double-checking of max-message-size in C++ layers 2017-01-19 10:05:13 -08:00