1699 Commits

Author SHA1 Message Date
a00cbfeab5 Overwrite authority if creds servername is specified 2016-09-06 11:23:30 -07:00
52f6504dc2 Merge pull request #867 from iamqizhao/master
Support client side interceptor
2016-09-02 15:12:15 -07:00
8d57dd3404 Merge pull request #874 from menghanl/avoid_streamerror
Fix server side errors
2016-09-02 14:30:07 -07:00
b36b3ef700 Merge pull request #877 from edrex/patch-1
Doc: Fix typo in func (s *Server) comment
2016-09-02 14:19:47 -07:00
086edd7dfd Unexport transport.StreamErrorf and transport.ConnectionErrorf 2016-09-02 14:15:27 -07:00
5060203263 fixes in end2end tests 2016-09-02 14:15:26 -07:00
477d54e0c9 Do not send reset stream on context timeout 2016-09-02 14:15:23 -07:00
3bea3c5f8b Doc: Fix typo in func (s *Server) comment 2016-09-02 12:20:15 -07:00
5e734ab23e Avoid creating transport stream error outside of transport 2016-09-02 11:57:42 -07:00
79b7c34917 Merge pull request #868 from menghanl/connection_errorf
Use ConnectionErrorf
2016-08-26 15:36:31 -07:00
4c8d05f3b1 Merge pull request #864 from tamird/retry-timeout
transport: robustly detect temporary errors
2016-08-26 15:02:58 -07:00
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