330d8f958c
i) revise picker API and channel state API; ii) add unicastNamingPicker which supports custom name resolving.
2015-12-14 14:32:43 -08:00
0fd544f256
Fix cc.Close() state race
...
Fix a race condition in which a Conn's state is set to TransientFailure after Close() has been invoked – Close() should irrevocably set state to Shutdown.
2015-11-10 14:02:38 -08:00
c0d1abc00e
fix a comment
2015-10-08 14:22:00 -07:00
390cd42894
revise Picker API
2015-10-08 11:05:59 -07:00
ec8414396c
bug fix: stop busy wait on new transport
2015-10-08 09:09:06 -07:00
9a7e50e3d9
remove unnecessary go statement
2015-10-02 16:04:55 -07:00
c01ea6e359
revise Picker API
2015-09-29 10:24:03 -07:00
2899844430
fix a typo
2015-09-25 13:38:17 -07:00
23fea5c44a
comments
2015-09-25 13:32:35 -07:00
ec99a32572
redesign the API
2015-09-25 13:21:25 -07:00
ffbdf88f0f
add more comments
2015-09-24 10:36:56 -07:00
9afcd0c697
preliminary refactoring for custom naming and load balancing
2015-09-23 19:09:37 -07:00
980b4c6d05
grpc: restore changes after sync
...
Change-Id: I97f0c77f95086301202d0fe4ca477ae6e22dd0b5
2015-09-23 15:18:41 -04:00
e6b603d375
a bit clean up
2015-09-22 19:01:33 -07:00
ecf8201c7c
remove a dead member var
2015-09-22 16:12:42 -07:00
dd992b3748
remove transportSeq
2015-09-21 18:17:49 -07:00
804293ac57
Fix a reconnecting bug
2015-09-15 11:20:16 -07:00
b1c6afbc7f
s/stated/started/ in Shutdown doc
2015-09-06 21:26:27 -07:00
9ba820ef6a
add tests
2015-08-28 13:50:04 -07:00
87c361b5a5
check transport security when using oauth2-based credentials
2015-08-28 13:19:36 -07:00
3b3b9b52cc
polish
2015-08-27 22:03:38 -07:00
456daaf3f1
extend ErrNoTransportSecurity message
2015-08-27 22:00:49 -07:00
996538ab4b
Insecure ClientConn made explicit
2015-08-27 17:21:52 -07:00
7fbf442f72
gofmt -w
2015-08-03 13:24:14 -07:00
cf1376e56b
revert some unnecessary changes
2015-08-03 13:18:25 -07:00
8fc68cd569
small fix
2015-08-03 13:11:00 -07:00
89ca9edced
small fix
2015-08-03 11:45:42 -07:00
08b3e19185
add a shortcut logic
2015-08-03 11:29:27 -07:00
494b40089f
polish the func comment
2015-08-03 11:19:25 -07:00
14702f8b6a
channel state API
2015-07-31 19:00:43 -07:00
244bc75d79
Switch ALPN/NPN to advertise only h2
2015-07-31 14:16:02 -07:00
923b849cb0
add a missing ClientConn state transition
2015-07-31 10:59:32 -07:00
f680d0b77d
fix a typo
2015-07-30 15:36:59 -07:00
76ef365255
Add ClientConn state
2015-07-30 15:30:26 -07:00
bce3d5e24b
small fix
2015-07-28 11:24:31 -07:00
e35bf02914
revise reconnect backoff strategy
2015-07-28 11:12:07 -07:00
611d960757
support user-agent and allow users attach their own application user agent string
2015-07-24 11:19:08 -07:00
57b3fb41f6
add some more comments
2015-06-04 15:52:06 -07:00
e2677ad0f3
fix some comments
2015-06-04 15:47:02 -07:00
ec20a7b857
make dialing nonblocking by default. Add a DialOption to force blocking operation.
2015-06-04 15:45:06 -07:00
8c6e829589
cleanup
2015-05-12 18:02:38 -07:00
3617cd5ab3
revert handshaker changes
2015-05-12 17:59:20 -07:00
7c025e8694
move log package references to grpclog
2015-05-09 11:43:59 +02:00
101c1e1935
change log package references to grpc/log
2015-05-09 01:16:40 +02:00
814627b32e
add comments
2015-05-01 18:17:36 -07:00
9d59a879e1
Add handshaker option to ClientConn
2015-05-01 18:10:40 -07:00
5f7c0caeb4
modify the comment
2015-04-21 16:48:41 -07:00
2cf2d0871b
remove WithNetwork and add WithDialer to have more flexibility on dialing
2015-04-21 16:19:29 -07:00
3259049490
fix some typos and run gofmt
2015-04-17 13:50:18 -07:00
c7b9fa27dc
addressed some comments
2015-04-01 14:22:53 -07:00