1990 Commits

Author SHA1 Message Date
c5a5dbc500 Don't return an error from dial if the balancer returns no initial servers (#1112)
This modifies the WithBlock behavior somewhat to block until there is at least
one valid connection.  Previously, each connection would be made serially until
all had completed successfully, with any errors returned to the caller.  Errors
are now only returned due to connecting to a backend if a balancer is not used,
or if there is an error starting the balancer itself.

Fixes #976
2017-03-21 11:35:53 -07:00
cdee119ee2 Merge pull request #1124 from MakMukhi/rst_stream_issue
Upon observing timeout on rpc context, the client should send a RST_S…
2017-03-14 15:44:13 -07:00
553538425b Removing unnecessary change to http2_server 2017-03-13 18:07:08 -07:00
6b28425a45 Upon observing timeout on rpc context, the client should send a RST_STREAM to the server before freeing the quota for more rpcs to be created. 2017-03-13 17:09:45 -07:00
0713829b98 Merge pull request #1108 from MakMukhi/linter_update
golint update
2017-03-13 11:14:51 -07:00
d50cf2db16 Merge pull request #1117 from MakMukhi/client_max_msg_size
Client should have a check on maximum size of received message size.
2017-03-10 11:14:43 -08:00
0e71619115 making client consistent with server 2017-03-09 17:48:37 -08:00
b9b6d48985 test debug 2017-03-09 17:01:46 -08:00
a94b0948a3 Client should have a check on maximum size of received message size. 2017-03-09 16:58:23 -08:00
5ebdd304ba lint update and test fix 2017-03-08 11:35:54 -08:00
0d5b22c2a7 golint update 2017-03-07 18:12:58 -08:00
4eaacfed97 Merge pull request #993 from MakMukhi/mmukhi_keepalive_client
Point-to-point health check. Client side implementation
2017-03-06 16:54:00 -08:00
7b399ed358 Merge pull request #1076 from apolcyn/account_for_padding
account for padding in flow control, when received frame uses it
2017-03-06 13:37:14 -08:00
661dbbc817 conflict resolve 2017-03-06 13:19:09 -08:00
9d23576618 post-review update 2017-03-06 13:08:23 -08:00
0e5ab0098f Merge pull request #1106 from dfawley/cc_cancel
Add comment explaining why cancel is not called in success path after client transport is created
2017-03-06 12:00:49 -08:00
77204bfdf2 Add comment explaining why cancel is not called in success path after client transport is created 2017-03-03 16:46:26 -08:00
1dab933725 Merge pull request #1103 from menghanl/test_string_error
remove string comparing in test because text of an error string chang…
2017-03-02 18:05:54 -08:00
25f14b7f84 post-review updates 2017-03-02 18:00:55 -08:00
ba23d25e3a relax the checking on error string 2017-03-02 15:21:41 -08:00
8b2e129857 Merge pull request #1071 from MakMukhi/issue_1060
Issue #1060 maximum number of streams on the client should be capped …
2017-03-01 14:46:18 -08:00
f22061907e post-review updates 2017-03-01 13:08:05 -08:00
0dc1a7dd67 post review updates 2017-03-01 11:20:02 -08:00
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