6140c2e83c
Merge pull request #823 from MakMukhi/master
...
revert
2016-08-09 16:00:00 -07:00
4ab5bfecd9
Merge pull request #2 from MakMukhi/revert-1-mmukhi_addTest
...
Revert "added two new testcases for backoff.go"
2016-08-09 15:53:20 -07:00
34d99ff2c2
Revert "added two new testcases for backoff.go"
2016-08-09 15:53:00 -07:00
a7e29a2b52
Merge pull request #1 from MakMukhi/mmukhi_addTest
...
added two new testcases for backoff.go
2016-08-09 14:21:35 -07:00
e0fa149838
Merge pull request #820 from grpc/revert-819-mmukhi_addTest
...
Revert "added two new testcases for backoff.go"
2016-08-09 14:18:24 -07:00
cf0922650a
Revert "added two new testcases for backoff.go"
2016-08-09 14:17:02 -07:00
c0309f2af4
Merge pull request #819 from MakMukhi/mmukhi_addTest
...
added two new testcases for backoff.go
2016-08-09 14:12:57 -07:00
d38b9be5f2
added two new testcases for backoff.go
2016-08-09 14:11:16 -07:00
35182852db
Retry transport creation when ClientHandshake returns EOF
...
ClientHandshake performs the first IO on the connection and can give us
the first indication that the connection was closed. Making any error
from ClientHandshake a non-temporary error causes grpc.Invoke to not
retry a non-failfast RPC.
See https://github.com/cockroachdb/cockroach/issues/8353 .
2016-08-09 16:38:18 -04:00
d2b50c7ca5
Allocate clientstream after getTransport
2016-08-09 13:22:02 -07:00
43cdc3c81c
Finish clientstream when newclientsteram returns error
2016-08-08 16:27:22 -07:00
32bc9f2357
Remove conn.Close() in tlsCred.ServerHandshake()
...
Removes the responsibility from tlsCred.ServerHandshake() of calling Close() on the underlying connection. Returning an error is enough to close the connection: https://github.com/grpc/grpc-go/blob/master/server.go#L370 .
2016-08-08 07:11:07 -05:00
efa105d0d2
Cleanup conn.Close() handling in newHTTP2Client()
...
Removes the need to close the underlying connection in tlsCreds.ClientHandshake().
2016-08-08 03:49:40 -05:00
35896af9ad
Merge pull request #768 from menghanl/fatal_on_bad_certificates
...
Return error on bad certificates
2016-08-02 21:27:28 -07:00
a4587cd3f0
Fix review comments
2016-08-02 21:07:00 -07:00
24567366d3
Merge pull request #809 from menghanl/disable_handler_tests
...
Temporarily disable handler-tls for TestClientStreamingError due to #619
2016-08-02 10:52:16 -07:00
63e2ba4fce
Temporarily disable handler-tls for TestClientStreamingError due to #619
2016-08-01 16:52:41 -07:00
fa5748afd3
Change error returned for transport not found
2016-08-01 16:01:16 -07:00
f6b46c1787
Fix errors after rebasing
2016-08-01 16:01:10 -07:00
4bbb9d8142
Add test env for no-balancer
2016-08-01 15:55:08 -07:00
1a571b746a
Add TestFailFastRPCWithNoBalancerErrorOnBadCertificates TestNonFailFastRPCWithNoBalancerErrorOnBadCertificates
2016-08-01 15:55:08 -07:00
d7d831d95e
Do not create RoundRobin if balancer is not specified
2016-08-01 15:55:08 -07:00
7c6eabc607
Make Dial() return original error
2016-08-01 15:55:08 -07:00
b41c9e8e14
Add TestFailFastRPCErrorOnBadCertificates
2016-08-01 15:55:08 -07:00
558ecfb3a6
Remove RPC non-fail-fast return
2016-08-01 15:55:08 -07:00
779083c633
Change TestDialWithBlockErrorOnBadCertificates error check
2016-08-01 15:55:08 -07:00
1d0bea7943
Add addrConn tearDownError
2016-08-01 15:55:08 -07:00
e9e6ae6215
Make Dial() withblock error on bad certificates
2016-08-01 15:55:08 -07:00
3de685a0ed
Merge pull request #808 from menghanl/fix_test
...
Fix test error condition
2016-08-01 15:52:58 -07:00
220877db17
Merge pull request #796 from tamird/cancel-creds
...
Plumb context into ClientConn dialing and ClientHandshake of credentials.
2016-08-01 15:51:45 -07:00
d9e00dc408
Fix test error condition
2016-08-01 14:41:44 -07:00
5c7ed938f9
credentials: plumb cancellation into ClientHandshake
...
This is a minor breaking change to `TransportCredentials`, however
it should not be a problem in practice as not many users are using
custom implementations. In particular, users of `NewTLS` will not
be affected.
This change also replaces the earlier `Timeout` and `Cancel` fields
with a `context.Context`, which is plumbed all the way down from
`grpc.Dial`, laying the ground work for a user-provided context.
Also, support for Go 1.7 is added.
2016-08-01 16:29:56 -04:00
5a423e610f
test: fix log noise
2016-08-01 16:28:14 -04:00
a2e43287dd
Merge pull request #806 from iamqizhao/master
...
Fix #804
2016-08-01 13:26:43 -07:00
21c5a43e47
fix a race condition causing http2Client.controller leaking
2016-08-01 11:51:20 -07:00
452f01f3ae
Merge pull request #780 from iamqizhao/master
...
Limit the max request size to be accepted
2016-07-30 11:50:10 -07:00
058603d782
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-07-30 11:40:40 -07:00
3d1bf72f7a
Merge pull request #801 from iamqizhao/race-fix
...
Improve a transport test
2016-07-30 11:40:24 -07:00
405998a836
a small fix
2016-07-30 11:32:15 -07:00
0f38a650e6
a small fix
2016-07-30 11:31:00 -07:00
fb5fcd93fd
revert some changes on the transport test
2016-07-30 11:26:07 -07:00
2f16a90cc7
tune a end2end test
2016-07-30 11:18:58 -07:00
0eea2a699d
add a missing server.stop()
2016-07-30 11:11:39 -07:00
a7d4cf8e91
Merge branch 'master' of https://github.com/grpc/grpc-go into race-fix
2016-07-30 11:11:04 -07:00
2d55a86435
Merge pull request #802 from grpc/revert-799-some_fix
...
Revert "fix some bugs"
2016-07-30 11:08:56 -07:00
b313fc0ad5
Revert "fix some bugs"
2016-07-30 02:06:47 -07:00
8ab0c9d545
Merge branch 'master' of https://github.com/grpc/grpc-go into race-fix
2016-07-29 18:18:19 -07:00
5adfa1733e
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-07-29 18:17:16 -07:00
fc500c24f6
fix go vet error
2016-07-29 18:08:00 -07:00
849641790e
small fix
2016-07-29 17:58:17 -07:00