Commit Graph

2024 Commits

Author SHA1 Message Date
Craig Tiller eeb3b24f7e Merge pull request #10238 from ctiller/bm_chttp2_top
Add benchmark suite for chttp2
2017-03-22 08:46:47 -07:00
Mark D. Roth 62d1dd920e Merge pull request #9850 from markdroth/retry_throttle
Retry throttling implementation.
2017-03-21 13:40:20 -07:00
Craig Tiller 18f09a01f6 Add benchmark suite for chttp2 2017-03-21 08:15:19 -07:00
Yuchen Zeng 40a947ef93 Merge pull request #9889 from y-zeng/channel_arg
Destroy pointer args when destructing a ChannelArguments
2017-03-17 11:38:44 -07:00
Mark D. Roth fecba535d9 Switch to using a CAS loop to update the token value. 2017-03-17 09:50:48 -07:00
Craig Tiller 89addaedc0 Merge pull request #10039 from ctiller/server_channel_args
Server channel args
2017-03-09 21:51:55 -08:00
ncteisen b3eee5c8c7 Merge branch 'master' of https://github.com/grpc/grpc into to-grpc-err-is-human 2017-03-09 11:16:25 -08:00
Craig Tiller 4751c28b0b Add channel arguments to server builder 2017-03-08 09:03:12 -08:00
Craig Tiller 5e3215338f Move helpers to a common place, use them everywhere 2017-03-03 08:50:25 -08:00
ncteisen 2316b80875 Merge branch 'master' of https://github.com/grpc/grpc into to-grpc-err-is-human 2017-03-01 11:52:32 -08:00
Craig Tiller cd232f64c6 Merge pull request #9753 from ctiller/zalloc
Add zalloc, convert a bunch of files to use it
2017-02-27 15:58:23 -08:00
Yuchen Zeng 77532e8bf3 Destroy pointer args when destructing a ChannelArguments 2017-02-27 11:52:39 -08:00
Yuchen Zeng 990d9fe146 Client-side keepalive ping
Based on soltanmm-google's #9114
2017-02-26 17:05:47 -08:00
Craig Tiller 3d72d71c7c Merge github.com:grpc/grpc into zalloc 2017-02-24 15:30:51 -08:00
Michael Lumish 63852c933b Merge pull request #9694 from nicolasnoble/upmerge_from_1_1_x
Upmerge from 1.1.x
2017-02-23 14:39:37 -08:00
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 266f66a67c Merge github.com:grpc/grpc into zalloc 2017-02-23 09:50:27 -08:00
yang-g c42d844d27 Let ServerContext own the initial_metadata array for sync calls 2017-02-22 23:04:06 -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
Craig Tiller 65d57b8c3d Merge github.com:grpc/grpc into zalloc 2017-02-17 07:03:54 -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
Craig Tiller 6f4178878c Add zalloc, convert a bunch of files to use it 2017-02-16 14:09:39 -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
Nicolas "Pixel" Noble e00d63f3ea Merge remote-tracking branch 'google/v1.1.x' 2017-02-13 23:37:17 +01: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
Nicolas Noble 4b844a40ad Merge pull request #9489 from nicolasnoble/mark_backport
Mark backport of PR #9465
2017-01-30 10:13:24 -08:00
yang-g edcde054c6 Merge remote-tracking branch 'upstream/master' into health 2017-01-30 09:58:46 -08:00
Mark D. Roth e6dd773dff Move parameters for all grpc_op types into their own sub-structs. 2017-01-28 02:23:30 +01: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