2467 Commits

Author SHA1 Message Date
f28d487753 future-proofing 2017-02-28 18:11:19 -08:00
e328ededa4 more refactoring 2017-02-28 12:41:34 -08:00
aefc96d792 Merge pull request #1027 from tamird/stringify-codes
Use codes.Code.String() rather than logging integers
2017-02-28 11:55:44 -08:00
3ad78109b1 removing dead code 2017-02-28 11:53:13 -08:00
bc3cca9945 Implementation changes;Using an independent goroutine for keepalive checks. 2017-02-28 11:49:51 -08:00
d122f1dfe6 Merge pull request #1082 from mwitkow/feature/unknown-handler-stream
add support for user-provided UnknownStreamHandler
2017-02-27 12:01:40 -08:00
9871e09f09 Use codes.Code.String() rather than logging integers
This produces better human-readable error messages.
2017-02-27 14:13:02 -05:00
e59576b1bb add support for user-provided UnknownStreamHandler 2017-02-27 18:07:41 +00:00
34384f34de Merge pull request #1080 from menghanl/travis_go18
add go1.8 to travis.yml
2017-02-23 16:04:25 -08:00
0dd2b96133 comment update 2017-02-22 14:03:29 -08:00
3d39290839 fix go vet in end2end test 2017-02-21 17:06:08 -08:00
467c1fdc83 add go1.8 to travis.yml 2017-02-21 13:55:01 -08:00
20633fa172 Merge pull request #1079 from retailnext/tls-1.8-clone
Use tls.Config.Clone() for go1.8
2017-02-21 13:52:14 -08:00
2e56e83e3a Use tls.Config.Clone() for go1.8
go1.8 now has native support for tls.Clone() so for 1.8+ use that for
credentials.cloneTLSConfig.
2017-02-21 12:03:28 -08:00
3de1621ff6 account for padding in flow control, when received frame uses it 2017-02-17 15:21:31 -08:00
7f74821ff2 experimental commit 2017-02-17 15:00:07 -08:00
d0c32ee6a4 Merge pull request #1069 from lyuxuan/minor_doc_fix
add comments
2017-02-15 16:36:43 -08:00
cbcceb2942 Merge pull request #1021 from MakMukhi/mmukhi_gomock_example
Example code and documentation on how to mock gRPC services
2017-02-14 13:50:11 -08:00
dcd2661469 Merge pull request #1064 from rodaine/set-authority
Add DialOption to overwrite :authority pseudo-header
2017-02-14 10:41:25 -08:00
6810d34606 fix issue #1056 and #1050 2017-02-13 17:37:53 -08:00
888efe30a6 style update 2017-02-13 14:36:26 -08:00
df4f24b125 1. Initialize streamsQuota at object creation.
2. Defer adding back to streamsQuota pool in CloseStream
2017-02-13 14:24:31 -08:00
4ad16bc34a Authority overwrite only works if TLS is not present 2017-02-13 10:25:06 -08:00
336b4ea3cf post review update 2017-02-10 16:47:43 -08:00
4acc9108c1 Merge pull request #1022 from ncteisen/http_interop
Add Go Client to Test Negative HTTP2 Conditions
2017-02-10 15:46:57 -08:00
bd3ebf8e9e Merge pull request #1070 from jhump/jh/reflection-fix-extensions
fix FileContainingExtension in server reflection
2017-02-10 11:57:45 -08:00
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