626 Commits

Author SHA1 Message Date
0db45ca079 Merge pull request #283 from Sajmani/master
grpc: rename request trace family from "Sent" and "Recv" to "grpc.Sent" and "grpc.Recv"
2015-08-10 15:38:52 -07:00
f91d055b70 Merge pull request #280 from yangzhouhan/master
add an etcd client for naming resolution
2015-08-10 15:36:30 -07:00
95389ca819 add a comment 2015-08-10 11:19:08 -07:00
22561bcdfc return error when create etcdNR fails 2015-08-10 11:17:24 -07:00
15755ea692 fix the comment 2015-08-10 11:03:11 -07:00
86b5db2f22 gofmt 2015-08-10 11:01:15 -07:00
f4afc93d71 grpc: revert change to clientconn in master branch. 2015-08-09 23:32:25 -04:00
7c57a23f2d grpc: rename "Recv" trace family to "grpc.Recv". 2015-08-09 23:24:53 -04:00
994fc85650 grpc: add trace.EventLog to ClientConn.
This event log records events that are interesting for live debugging
of a gRPC client.  In particular, this records when a connection is
established, broken, and reestablished.  The log is displayed on the
HTTP endpoint /debug/events in the family named "grpc.ClientConn".

Tested using a version of the route guide client modified to serve
HTTP and block at the end of main.
2015-08-09 23:07:37 -04:00
18c359f6a9 grpc: rename request trace family from "Sent" to "grpc.Sent". 2015-08-09 23:01:01 -04:00
2911d760f4 minor modification 2015-08-07 18:07:57 -07:00
6970805cc5 gofmt 2015-08-07 17:15:27 -07:00
2e3fbc4f8f change the name resolver interface 2015-08-07 17:12:15 -07:00
813dca6ff7 small modification 2015-08-07 14:33:01 -07:00
3ecd749815 small modification 2015-08-07 14:31:31 -07:00
80b71f410f small fix 2015-08-06 19:15:11 -07:00
83e023520c change namepair to kv and update the comments 2015-08-06 19:10:28 -07:00
5b59d19b70 add comment for nameresolver 2015-08-06 17:39:41 -07:00
ea4b8e0310 add comments and revise nameresolver 2015-08-06 16:08:24 -07:00
6fd3b74078 move NameResolver interface to clientconn 2015-08-05 16:33:22 -07:00
ab3efa6a5d add nameresolver interface 2015-08-05 16:16:18 -07:00
4623618e6b add an etcd client for naming resolution 2015-08-05 16:04:56 -07:00
c2367521ce add etcd naming resoluation service and tests 2015-08-03 14:43:11 -07:00
000aa5623e Merge pull request #278 from iamqizhao/master
Add ClientConn state API
2015-08-03 13:47:59 -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
aefa16d77f add a bit more test 2015-08-03 13:09:15 -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
23d15ea6b0 Merge pull request #276 from iamqizhao/alpn
Switch ALPN/NPN to advertise only h2
2015-08-03 10:57:08 -07:00
14702f8b6a channel state API 2015-07-31 19:00:43 -07:00
075e4a60c3 Switch ALPN/NPN to advertise only h2 2015-07-31 14:21:24 -07:00
244bc75d79 Switch ALPN/NPN to advertise only h2 2015-07-31 14:16:02 -07:00
5a1c16b4e6 Merge pull request #275 from iamqizhao/master
add a missing ClientConn state transition
2015-07-31 11:07:59 -07:00
923b849cb0 add a missing ClientConn state transition 2015-07-31 10:59:32 -07:00
88655fd9ac Merge pull request #274 from iamqizhao/master
Add ClientConn state
2015-07-30 17:22:41 -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
5ab7466caa Merge pull request #273 from iamqizhao/master
handle empty data frame
2015-07-30 13:04:36 -07:00
689884fbd0 handle empty data frame 2015-07-30 11:41:43 -07:00
fa4f5812a1 Merge pull request #272 from iamqizhao/master
an error code revision
2015-07-29 18:34:35 -07:00
766bcab28b an error code revision 2015-07-29 18:28:41 -07:00
94cb75a92e Merge pull request #263 from awpr/close_header_chan
Close the header channel if a stream is reset while waiting for headers.
2015-07-29 15:52:35 -07:00
7d81e8054f Merge pull request #271 from iamqizhao/master
Do right counting for max-stream settings
2015-07-29 11:53:14 -07:00
3d051227b2 gofmt -w 2015-07-29 11:41:19 -07:00
671e92a55a fix typo 2015-07-29 11:40:08 -07:00
4179d89d53 polish the newly added transport test 2015-07-29 11:15:58 -07:00
310d7f91d8 revert some debug logs 2015-07-29 11:07:29 -07:00