Commit Graph

73 Commits

Author SHA1 Message Date
smallnest
2b2d19376a pump version to v5.7.2 2020-08-06 17:25:11 +08:00
smallnest
6d45e41223 refactor FileTransfer and it is a method of service side and client side 2020-06-30 18:22:06 +08:00
smallnest
529de57753 release the lock before call the plugin 2020-06-23 22:15:39 +08:00
smallnest
efe00c5e11 release the lock before call the plugin 2020-06-23 22:14:12 +08:00
smallnest
1bd52b4676 add Select interrupt plugin 2020-05-05 23:26:32 +08:00
smallnest
ff83f90d07 #411 use singleflight to avoid creating duplicated clients 2020-05-05 23:03:53 +08:00
smallnest
b633eed003 remove v5 2020-04-28 18:42:05 +08:00
smallnest
d9d3fafbec modify for v5 2020-04-28 18:40:29 +08:00
smallnest
c13fa98bc4 remove v5 2020-04-28 18:20:33 +08:00
smallnest
1eebab9d9c add v5 tempralrily 2020-04-28 18:18:03 +08:00
smallnest
bff251b691 write idiomatic go code 2020-04-14 19:49:25 +08:00
smallnest
c5d45f11f1 return err in case of fetching cached clients if this xclient is closed 2020-04-01 11:45:58 +08:00
smallnest
2fd1f4f7e9 #394 correct what retries means 2019-12-02 10:51:49 +08:00
yuanjize
deffb45b1e improve code quality 2019-11-22 22:11:46 +08:00
smallnest
f0fe8130a4 #290 support nacos 2019-11-22 16:57:05 +08:00
smallnest
cc6375b851 don't close the connection if the error is context error 2019-11-12 20:26:51 +08:00
smallnest
9e0779c379 #380 avoid deadlock in case of new calls in ClientConnectedPlugin 2019-11-06 19:48:50 +08:00
smallnest
6a4c1b1de0 #366 support Filter in client 2019-10-08 13:45:00 +08:00
smallnest
f0bc86ae46 fix the receiver issue 2019-05-21 13:45:29 +08:00
smallnest
bb0446484b fix the mutex issue 2019-03-01 17:21:19 +08:00
smallnest
e67be6a4de #232 support opentracing 2019-01-25 17:03:25 +08:00
huwei
435f296bfd fixed: use close cacheClient to broadcast when remote service disconnect. 2019-01-24 17:16:46 +08:00
heldiam
bf663a6a8f Merge branch 'master' of https://github.com/smallnest/rpcx 2019-01-16 18:18:50 +08:00
heldiam
784282746b 设置auth但未设置share.ReqMetaDataKey时自动设置 2019-01-16 18:16:43 +08:00
smallnest
a05f734f9a use mutex to avoid selectClient sync issue 2019-01-16 11:31:24 +08:00
smallnest
a0665b2012 #294 support file download 2019-01-09 17:54:23 +08:00
smallnest
4601e787ac #294 support transfer large files to servers. The working function is like ftp and it will use a data transfer port to upload files. 2019-01-08 11:01:35 +08:00
liyiheng
cfb1a2f886 Bug fix: RLock for writing usage. 2018-12-15 13:16:44 +08:00
smallnest
d91cc9976a remove unused field 2018-12-07 10:48:40 +08:00
smallnest
bd119e30f1 remove unavailable servers for forking and broadcast 2018-10-29 14:45:42 +08:00
smallnest
bc055a8ce5 fix broadcast/form empty error issue 2018-10-26 17:25:56 +08:00
smallnest
08773cc046 #258 continue to fix errors in broadcast and fork 2018-10-10 14:06:18 +08:00
smallnest
e9ba8866ce #258 fix errors in Broadcast 2018-10-10 09:38:31 +08:00
smallnest
5cfa91d725 fix nil pointer failure 2018-09-11 19:21:18 +08:00
smallnest
2f74475e92 add client connected/close plugin 2018-09-11 19:13:12 +08:00
smallnest
d129a807ed remove dead clients 2018-08-30 17:00:12 +08:00
smallnest
e2d684d673 #244 must explore call error for other fail modes except Failfast 2018-08-15 18:41:06 +08:00
smallnest
75d591dd84 reimplement circuit breaker 2018-06-08 19:01:38 +08:00
smallnest
b3af0611cc #221 close broken client when use Broadcast and Fork 2018-05-23 19:47:33 +08:00
smallnest
faed5db1ff fix timeout issue that the second request will fail if read timeouts 2018-04-14 18:32:30 +08:00
smallnest
64c2f21fa0 handle one-way in failbackup, fork, broadcase mode 2018-04-11 18:07:09 +08:00
smallnest
432fc0d46f fix fork/broadcas deadlock issue 2018-02-05 13:14:07 +08:00
smallnest
c050b0284f add state and group features 2018-02-02 12:07:16 +08:00
smallnest
55c83c85e9 #196 support backup requests 2018-01-18 20:24:37 +08:00
smallnest
8ee9ed2658 #194 implement bidirectional commnunication 2018-01-12 18:54:19 +08:00
smallnest
57bd5a5ad1 explore the err of selectClient 2018-01-08 11:01:42 +08:00
smallnest
9c415cba70 check client is nil. It happenes when uses peer2peer discoveryservice 2018-01-06 18:02:14 +08:00
smallnest
6ad849fc53 #189 add Close method for discovery 2017-12-19 13:39:00 +08:00
smallnest
454b64a51a #186 remove wathcer when xclient is closed 2017-12-13 12:05:25 +08:00
smallnest
f0e5d160f3 fix the issue that implements SendRaw 2017-12-01 12:19:39 +08:00