2491 Commits

Author SHA1 Message Date
9e922bde58 Issue #1060 maximum number of streams on the client should be capped at 100 by default 2017-02-10 11:41:20 -08:00
ba8cd6e3e6 fix FileContainingExtension in server reflection 2017-02-09 21:12:29 -05:00
0ed6d03467 Merge pull request #1028 from apolcyn/reduce_benchmark_allocs
remove proto object allocs on streaming benchmark server
2017-02-09 17:35:33 -08:00
bcc367f343 get rid of extra payload local variable 2017-02-09 16:16:18 -08:00
a0bd789da9 fix wording 2017-02-09 16:12:53 -08:00
c7430a063e Only override :authority for insecure dials 2017-02-09 10:46:00 -08:00
9b791e0ea3 Merge pull request #1066 from MakMukhi/peer_calloption
Added calloption to retrieve peer information
2017-02-08 14:35:51 -08:00
dfb494c6e5 post review update 2017-02-08 14:15:59 -08:00
09fddba2ca remove debug code 2017-02-07 16:27:27 -08:00
2a6bf6142e Merge pull request #1067 from pmarks-net/master
Replace "127.0.0.1" with "localhost" to support IPv6-only environments.
2017-02-07 16:26:47 -08:00
97c325c956 Replace "127.0.0.1" with "localhost" to support IPv6-only environments. 2017-02-07 16:08:24 -08:00
66de296a37 post review update 2017-02-07 14:46:28 -08:00
f9065ac5d2 Added test. 2017-02-07 12:39:32 -08:00
f701157168 Merge pull request #1065 from adelez/fix_test_logging
Fix and modify logging.
2017-02-07 11:26:17 -08:00
794873f0a2 Added calloption to retrieve peer information 2017-02-07 10:41:32 -08:00
a050dbc887 Fix and modify logging. 2017-02-06 18:01:02 -08:00
84bee50bda Add DialOption to overwrite :authority pseudo-header
The :authority pseudo-header for a gRPC Client defaults to the host
portion of the dialed target and can only be overwritten by providing a
TransportCredentials. However, there are cases where setting this header
independent of any tranport security is valid. In my particular case,
in order to leverage Envoy for request routing, the cluster/service name
must be provided in the :authority header. This may also be useful in a
testing context.

This patch adds a DialOption to overwrite the authority header,
even if TransportCredentials are provided (I'd imagine you'd only ever
need to specify one or the other).
2017-02-03 17:29:18 -08:00
0bdf059601 post review updates 2017-01-31 16:09:40 -08:00
c8983baf3a const variable name change for goimports 2017-01-30 12:09:08 -08:00
0ba0eafe63 update activity on recieveing settings 2017-01-30 11:41:27 -08:00
5fcb58f02d post review updates 2017-01-30 11:32:54 -08:00
e78a1f396d conflict resolve 2017-01-27 11:18:35 -08:00
b2448f6c9b intermediate change 2017-01-27 11:15:56 -08:00
21f8ed3094 Merge pull request #1041 from markdroth/service_config_doc_fix
Update comment in service config struct.
2017-01-27 07:26:01 -08:00
52422a51d3 Merge remote-tracking branch 'upstream/master' into service_config_doc_fix 2017-01-26 14:43:31 -08:00
6e0ace39fe Change max message size fields from uint64 to uint32. 2017-01-26 14:43:08 -08:00
50955793b0 Debugging tests for AuthInfo (#1046)
* debug

* fix
2017-01-11 11:10:52 -08:00
9d8ac14538 Add Go interop http2 client 2017-01-10 15:05:15 -08:00
cb653e4b61 Change stats APIs (#1030)
Change stats API from one static handler to one handler per server or client.
2017-01-09 17:11:32 -08:00
4ed348913c ClientHandshake to return AuthInfo (#956)
* Initial commit

* Initial commit 2

* minor update

* goimport update

* resolved race condition

* added test for TLSInfo on server side

* Post review updates

* port review changes

debug

debug

* refactoring and added third function

* post review changes

* post review changes

* post review updates

* post review commit

* post review commit

* post review update

* post review update

* post review update

* post review update

* post review commit

* post review update
2017-01-09 13:29:20 -08:00
325a0c2061 Update comment. 2017-01-09 12:59:10 -08:00
49d2a88c27 Comment formatting 2017-01-06 17:18:22 -08:00
eeb6f5bade code cleaning 2017-01-06 16:52:37 -08:00
85497e2c51 Merge pull request #1040 from menghanl/interop_change
call cancel on context in DoTimeoutOnSleepingServer
2017-01-05 13:53:19 -08:00
ec1de5b416 call cancel on context in DoTimeoutOnSleepingServer 2017-01-05 13:01:42 -08:00
c810507164 Merge pull request #1035 from adelez/no_failfast
Set failfast to false for stress tests. Also wait for all rpcs are done before ending the test.
2016-12-28 16:41:21 -08:00
dd6905b8b2 Wait until all rpcs are done instead of a hard stop. 2016-12-28 11:59:08 -08:00
97b8c7c529 Set failfast to false for stress tests. 2016-12-27 16:56:55 -08:00
9d682f9293 Merge pull request #1024 from ThibaultRiviere/fix/bash_path
FIX: use /usr/bin/env bash in shebang
2016-12-21 16:19:25 -08:00
47b25d4b97 remove proto object allocs on streaming benchmark server 2016-12-21 11:28:07 -08:00
09aecb094e Add the initial service config support (#1009)
* Add the initial service config support

* start scWatcher later

* remove timeoutCh

* address the comments

* deal with dial timeout

* defer cancel for the newly created context for correct lifetime management

* fix the defer order

* added other 2 missing cancels
2016-12-19 16:31:00 -08:00
64362e655d FIX: use /usr/bin/env bash in shebang
FIX: grpc/grpc-go#1023

Signed-off-by: Thibault Riviere <thibault.riviere@scality.com>
2016-12-17 20:45:30 +01:00
541319e4fb Update gomock-example.md 2016-12-15 14:19:28 -08:00
6a68fd8584 post review updates 2016-12-15 14:07:52 -08:00
1a9e782d7d Merge branch 'mmukhi_gomock_example' of https://github.com/MakMukhi/grpc-go into mmukhi_gomock_example 2016-12-13 15:49:55 -08:00
a0474a67ea exclude mockgen generated code from golint 2016-12-13 15:48:06 -08:00
54f30019da Update gomock-example.md 2016-12-13 15:43:20 -08:00
5202729e3a Update gomock-example.md 2016-12-13 14:09:53 -08:00
e6b4662278 Update gomock-example.md 2016-12-13 13:49:43 -08:00
0708983f29 Create gomock-example.md 2016-12-13 13:10:39 -08:00