Commit Graph

483 Commits

Author SHA1 Message Date
Asim Aslam
d31cd76b8c Merge pull request #86 from micro/pool
Connection Pooling
2016-06-07 01:35:25 +01:00
Asim
ff0bd76905 Add a pool test 2016-06-07 01:18:54 +01:00
Asim
58ad01e3e1 Don't log that cruft 2016-06-07 00:48:34 +01:00
Asim
89401cbb95 Make pool configurable 2016-06-07 00:46:14 +01:00
Asim
38a66817e6 Add a conn lifetime for the pool 2016-06-06 23:37:52 +01:00
Asim
6669248291 gofmt 2016-06-06 23:37:07 +01:00
Asim
739b094cd2 Merge branch 'master' into pool 2016-06-06 14:06:03 +01:00
Asim
69aa8537d3 Add some comments 2016-06-06 14:05:02 +01:00
Asim Aslam
05596cfae4 Merge pull request #99 from xujinzheng/master
improve self-signed host list
2016-06-06 14:02:16 +01:00
Zeal
d8ecd42868 rename getIPAddrList() to getIPAddrs and improve code format 2016-06-06 20:56:53 +08:00
Zeal
eb0422cee1 improve self-signed host list 2016-06-05 23:13:29 +08:00
Asim
34365812d8 Fix double close 2016-06-03 11:08:58 +01:00
Asim
702072f177 Make mock listen on random port if 0 is specified 2016-06-01 15:22:27 +01:00
Asim
93c1ae6221 Add debug stats handler 2016-05-28 22:30:47 +01:00
Asim Aslam
824d2a850c Merge pull request #95 from ThatsMrTalbot/patch-1
MockClient.CallRemote now returns nil on success
2016-05-28 21:00:09 +01:00
Mr Talbot
6de507b7b5 MockClient.CallRemote now returns nil on success
CallRemote was not returning nil on success as it should due to a missing return
2016-05-28 20:52:59 +01:00
Asim Aslam
257333a0a3 Merge pull request #93 from micro/endpoint_metadata
Support endpoint metadata
2016-05-26 20:43:29 +01:00
Asim
7a5a9013ef move the option 2016-05-26 20:43:05 +01:00
Asim
ee3ae89ca8 naming nitpick 2016-05-26 20:25:00 +01:00
Asim
4d24f4e30c Blacklist for longer to ensure it works 2016-05-26 18:26:02 +01:00
Asim
8245390b5a Support endpoint metadata 2016-05-26 18:01:02 +01:00
Asim
1254a87286 Add package comments 2016-05-24 22:22:46 +01:00
Asim
9d50d51c40 Ugh slack on heroku sucks 2016-05-23 14:13:03 +01:00
Asim
0a6d1ff0ab Add slack badge 2016-05-22 19:33:41 +01:00
Asim
04bc20798d Don't strip decode because its good to be backwards compatible still 2016-05-22 18:43:47 +01:00
Asim
2708f9c04b No longer need to test old encoding 2016-05-22 18:41:06 +01:00
Asim
06ee80fd0a Strip old encoding 2016-05-22 18:34:47 +01:00
Asim
98f295b6b0 Noobed the deadlock 2016-05-13 18:24:01 +01:00
Asim
2e9f4271a8 Pool first attempt 2016-05-13 15:58:53 +01:00
Asim Aslam
c0eac7dda8 Merge pull request #85 from micro/timeout
Add cascading timeouts
2016-05-13 15:54:01 +01:00
Asim
b6f5e15362 Fix the error returns from done and bail early if we dont have time 2016-05-12 23:56:25 +01:00
Asim
00a26677b8 Continue to return our error types 2016-05-12 23:52:29 +01:00
Asim
8c8573426c Add cascading timeouts 2016-05-12 23:32:58 +01:00
Asim
d504abb7e2 Add readme to examples 2016-05-11 22:58:59 +01:00
Asim
2254578760 We don't need sync.Once, we can just select 2016-05-11 00:01:32 +01:00
Asim
a0a4ab4c15 Don't throw fatal on EOF 2016-05-10 11:23:30 +01:00
Asim
9d629b5365 Don't return 2016-05-10 11:17:48 +01:00
Asim
aea81315d0 Change QueueName to Queue 2016-05-10 10:55:18 +01:00
Asim
0d21b08928 Run method is obsolete 2016-05-07 03:08:43 +01:00
Asim Aslam
24220fe615 Merge pull request #81 from micro/selector
Make Selector pluggable with Strategy's, Filters, etc.
2016-05-07 00:24:57 +01:00
Asim
75f2706fd0 Use ErrNoneAvailable and test blacklisting 2016-05-07 00:04:08 +01:00
Asim
63c6e82192 Strip blacklist 2016-05-06 23:18:47 +01:00
Asim
639172f755 Merge branch 'master' into selector 2016-05-06 23:16:07 +01:00
Asim
8353b7b865 Add blacklist to cache 2016-05-06 23:15:40 +01:00
Asim
77e4d4d9c4 Next phase of selector 2016-05-06 23:12:37 +01:00
Asim
07687b9595 Since we send 200 response from the Listener, we should expect 200 response from the Client 2016-05-06 15:44:32 +01:00
Asim
8b76e277bc Make it possible to call service.Init multiple times 2016-05-06 12:21:41 +01:00
Asim
ba391e228c Add default to selector list 2016-05-05 21:14:57 +01:00
Asim
6070e235eb remove comment 2016-05-05 21:13:07 +01:00
Asim
670ed74a13 Use del method 2016-05-05 21:12:59 +01:00