Commit Graph

52 Commits (eda72624e289c83c1f4287381c94c7411e4427bf)

Author SHA1 Message Date
Darien Raymond ab9349ec31
rename buf.Copy 2017-04-17 22:50:02 +02:00
Darien Raymond 2f565bfd5e
simplify ray stream 2017-04-16 09:57:28 +02:00
Darien Raymond 8bb2d02f78
check number of shadowsocks servers 2017-04-11 13:42:10 +02:00
Darien Raymond 503f767862
error generator 2017-04-09 00:54:23 +02:00
Darien Raymond ade8453c0a
completely remove connection reuse feature 2017-04-07 21:54:40 +02:00
Darien Raymond 2668954c12
update error messages 2017-04-06 22:17:13 +02:00
Darien Raymond 75f5cb9afb
refactor log and error 2017-04-06 21:13:17 +02:00
Darien Raymond fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond f34ad57b58
refactor timer api 2017-03-31 21:45:43 +02:00
Darien Raymond a57531ef5d
cancel context after finish 2017-03-31 21:10:33 +02:00
Darien Raymond f643344154
merge buf stream 2017-03-27 11:26:44 +02:00
Darien Raymond d627638412
refine error message 2017-03-07 22:08:16 +01:00
Darien Raymond e480091388
smart error propagation 2017-02-21 23:14:07 +01:00
Darien Raymond 020b436827
merge bufio into buf 2017-02-15 22:51:01 +01:00
Darien Raymond 5e7fb6d0dd
refine error handling in retry logic 2017-02-10 11:41:50 +01:00
Darien Raymond d04d92c187
update context functions 2017-02-09 22:49:38 +01:00
Darien Raymond c4d0227977
simplify dialer and dispatcher parameters 2017-02-03 22:35:09 +01:00
Darien Raymond f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond c462e35aad
cancel sessions after inactivity 2017-01-31 12:42:05 +01:00
Darien Raymond c09ca41161
handle close wait 2017-01-28 22:31:21 +01:00
Darien Raymond fab20bb0cf
close outbound connections when context is done 2017-01-28 21:24:46 +01:00
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond b40a139310
simplify import 2017-01-13 23:42:39 +01:00
Darien Raymond 148e4832eb
leverage global object creator in proxies. 2017-01-13 00:56:21 +01:00
Darien Raymond d24fe9dbfb
separate network and transport protocol 2017-01-12 12:54:34 +01:00
Darien Raymond 72992c7478
able to close ray stream with error 2017-01-10 14:22:42 +01:00
Darien Raymond f2e9d8a4e0
socks client 2017-01-08 01:06:35 +01:00
Darien Raymond e678000c44
remove release() pattern 2017-01-04 12:52:24 +01:00
Darien Raymond 49210d8362
refine stream handling 2017-01-04 12:34:01 +01:00
Darien Raymond 31d6e74482
remove rawtcp 2017-01-03 14:53:59 +01:00
Darien Raymond f6aa7a0053
fix usage of ray stream. 2016-12-30 00:51:39 +01:00
Darien Raymond 609dbc1f13
task engine for all proxies 2016-12-30 00:32:20 +01:00
Darien Raymond c347e50c28
rename cached to buffered 2016-12-27 21:41:44 +01:00
Darien Raymond 4cbcd2fd8d
comments 2016-12-21 23:07:35 +01:00
Darien Raymond bb498cbfa8
Fix shadowsocks client handling proxied connection 2016-12-21 10:45:47 +01:00
Darien Raymond 1948d0738f
refactor io package 2016-12-09 13:17:34 +01:00
Darien Raymond 7a80409e30
rename alloc to buf 2016-12-09 11:35:27 +01:00
Darien Raymond efb24a4d21
rewrite error lib 2016-12-04 09:10:47 +01:00
Darien Raymond 14829f67f0
refine outbound proxy handler interface 2016-11-27 23:57:19 +01:00
Darien Raymond f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00
Darien Raymond 6804d8f73a
better handling error from Pipe() 2016-11-22 00:17:49 +01:00
Darien Raymond bc822985ab
shadowsocks log 2016-11-21 23:06:26 +01:00
Darien Raymond 30cd9e929d
add exponential backoff as retry logic 2016-11-20 21:47:51 +01:00
Darien Raymond 84740b676a
handle empty payload 2016-11-19 22:40:14 +01:00
Darien Raymond 5dc05d6352
allow outbound to be proxied 2016-11-10 23:41:28 +01:00
Darien Raymond d343cb1ee6
proxy connection 2016-11-09 00:17:09 +01:00
Darien Raymond 3a15f799c2
prevent deadlock in shadowsocks 2016-11-05 01:00:09 +01:00
Darien Raymond c5a92e00ef
dont reuse shadowsock connections 2016-11-02 22:18:25 +01:00
Darien Raymond 5f3f173b5e
shadowsocks client factory 2016-11-02 16:33:04 +01:00
Darien Raymond 687e008c9a
refine shadowsocks ota settings 2016-11-02 16:17:57 +01:00