f958389aff
Use ConnectionErrorf instread of ConnectionError{}
2016-08-26 14:55:42 -07:00
61f62e0da6
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-08-26 13:51:46 -07:00
1e47e17230
Support client side interceptor
2016-08-26 13:50:38 -07:00
d736c1182a
Merge pull request #851 from menghanl/server_cred_return_nil_conn
...
Add credentials ErrConnDispatch to tell gRPC to keep rawConn open
2016-08-26 11:50:23 -07:00
d4b6ce0cfe
Merge pull request #861 from iamqizhao/master
...
Add an err logging to testFailFast
2016-08-26 10:33:23 -07:00
0df4503b9a
transport: robustly detect temporary errors
...
A bit paranoid, but should help mitigate more issues like #859 .
2016-08-25 21:30:54 -04:00
e1b61502bc
test: remove useless local variable
2016-08-25 21:30:54 -04:00
4775d9da13
test: DRY
2016-08-25 21:30:54 -04:00
1689a9c9eb
test: output codes as strings in failure messages
2016-08-25 21:30:52 -04:00
935fb215d6
fix
2016-08-25 16:30:04 -07:00
42e031a928
Use fmt instead grpclog
2016-08-25 15:13:27 -07:00
4c15c984f2
change to Printf
2016-08-25 15:04:02 -07:00
b7aa4e95cb
Merge pull request #862 from tamird/fix-conn-leak-again
...
Avoid goroutine leak in clientconn
2016-08-25 14:36:05 -07:00
dd5645bebf
Avoid goroutine leak in clientconn
...
Prior to this change, it was possible for `DialContext` to return
`(nil, err)` without properly closing the `ClientConn`, resulting in an
unavoidable leak of the `resetAddrConn` goroutine.
2016-08-25 17:02:43 -04:00
d8f4ebe77f
Merge pull request #859 from menghanl/client_handshake_timeout
...
Client handshake timeout
2016-08-25 10:54:13 -07:00
53578d490a
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-08-24 16:35:09 -07:00
152c95e0d8
add err logging to testFailFast
2016-08-24 16:34:37 -07:00
0c58a17d6f
Add credentials ErrConnDispatch
2016-08-24 16:20:57 -07:00
d3a6b8a57f
Add TestNonFailFastRPCSucceedOnTimeoutCreds
2016-08-24 15:38:04 -07:00
2ac2d85a1b
context.DeadlineExceeded returned by ClientHandshake should not be fatal error
2016-08-24 15:38:04 -07:00
9874075aee
Merge pull request #858 from iamqizhao/master
...
Detach user-passed context (via DialContext(...)) with the context of ClientConn
2016-08-24 15:24:05 -07:00
6cc4c5785d
refactor to simplify
2016-08-24 12:56:16 -07:00
9dbd95fe38
make the test failure consistent
2016-08-24 11:02:18 -07:00
7873a050d4
fix the test
2016-08-24 10:46:06 -07:00
7eae19acb7
fix the issue
2016-08-23 19:23:04 -07:00
60c350b0e9
Detach user-passed context (via DialContext(...)) with the context of ClientConn
2016-08-23 18:18:18 -07:00
7f061361d3
Merge pull request #840 from tamird/go1.7
...
Go1.7
2016-08-23 11:30:50 -07:00
0032a855ba
Merge pull request #843 from iamqizhao/master
...
prepare GA announcement
2016-08-19 11:23:41 -07:00
231b4cfea0
Merge pull request #842 from menghanl/non_failfast_after_cc_close
...
Check cc.conns before reading cc.conns
2016-08-18 17:22:36 -07:00
faa2ad14db
prepare GA announcement
2016-08-18 17:09:26 -07:00
f3ac95e6cd
Check if cc.conns == nil before reading cc.conns
2016-08-18 16:43:58 -07:00
abe69848df
travis: update all the tools
...
Fix new golint complaints
2016-08-18 16:53:48 -04:00
6e7d46934f
travis: test against Go1.7
...
Fix new go vet complaints
2016-08-18 16:53:47 -04:00
2e4cfe0fc5
Merge pull request #839 from menghanl/fix_go17_vet
...
Fix go 1.7 vet
2016-08-18 13:31:35 -07:00
e97a524cf1
Fix go 1.7 vet
2016-08-17 17:21:51 -07:00
8a81ddda27
Merge pull request #831 from spencerkimball/spencerkimball/dial-with-context
...
Implement DialContext to afford caller option of managing cancelation
2016-08-17 11:18:27 -07:00
6627689644
Merge pull request #837 from menghanl/ac_wait_errors
...
Fix ac.wait() errors
2016-08-17 10:50:25 -07:00
c72b08a774
Change errors returned by ac.wait()
2016-08-16 16:56:16 -07:00
cd5721c02f
Add TestOneConnectionRemoval
2016-08-16 15:48:05 -07:00
b38541aeb0
Implement DialContext to afford caller option of managing cancelation
2016-08-16 16:57:59 -04:00
c2781963b3
Merge pull request #830 from menghanl/non_blocking_rpc_reget_transport
...
Make non-failfast RPC get new transport instead of waiting
2016-08-15 14:45:04 -07:00
1415e1cd7a
Merge pull request #818 from petermattis/pmattis/retry-client-handshake-eof
...
Retry transport creation when ClientHandshake returns EOF
2016-08-15 13:40:23 -07:00
f61df31e29
Merge pull request #814 from alexmullins/master
...
Cleanup conn.Close() handling in newHTTP2Client()
2016-08-15 13:39:02 -07:00
988c8863ad
Add TestOneConnectionDown
2016-08-15 11:28:17 -07:00
a9c8aebe90
Make non-failfast RPC get new transport instead of waiting
2016-08-12 13:03:09 -07:00
c2c110d5cf
Merge pull request #829 from menghanl/histogram_clear
...
Fix histogram clear()
2016-08-11 10:05:11 -07:00
2ac2b966a8
Fix histogram clear()
2016-08-10 14:31:48 -07:00
edc5ccf8cb
Merge pull request #817 from menghanl/finish_clientstream_on_error
...
Finish trace when newclientsteram returns error
2016-08-10 11:44:55 -07:00
111daf1ceb
Merge pull request #825 from tamird/log-the-error
...
resetTransport: log all transient errors when they occur
2016-08-10 11:38:21 -07:00
5e62f80ba8
resetTransport: log all transient errors when they occur
...
Previously, cancellation of the context would cause these transient
errors to be swallowed since the function would return before the
log line was reached.
2016-08-10 12:56:03 -04:00