Commit Graph

143 Commits (ed1d713ef437d03f25b8fd9373aaddc3da8dde05)

Author SHA1 Message Date
Darien Raymond 57966adf49
revert reader creation based on per-connection buffer 2018-08-17 20:54:25 +02:00
Darien Raymond 5e65d7da6d
more accurate memory usage when buffer = 0 2018-07-31 16:05:57 +02:00
Darien Raymond 7baa6977d3
cleanup buf interfaces 2018-07-31 13:43:27 +02:00
Darien Raymond 2858b769dd
detect any ip 2018-07-18 16:29:29 +02:00
Darien Raymond b9db4514e2
allow partial override in freedom 2018-07-18 16:21:40 +02:00
Darien Raymond 59819871a1
change ip everytime when dial IP 2018-07-01 21:37:45 +02:00
Darien Raymond 9977eadf8c
remove dependency from errors to session 2018-06-25 01:09:02 +02:00
Darien Raymond 13f3c356ca
unified task package 2018-05-27 13:02:29 +02:00
Darien Raymond 7fa4bb434b
fix pipe closing logic for inbound proxies. 2018-05-27 11:42:01 +02:00
Darien Raymond 8eb84a2025
Close outbound output stream properly. fix #1082 2018-05-11 16:36:20 +02:00
Darien Raymond 5d23604713
rewrite ray -> pipe 2018-04-17 00:31:10 +02:00
Darien Raymond 0caf92726b
better way to run tasks in parallel 2018-04-11 16:45:09 +02:00
Darien Raymond 6b872c266c
session id 2018-02-22 15:26:00 +01:00
Darien Raymond 88b25d38cb
simplify context retrieval 2018-02-21 17:05:29 +01:00
Darien Raymond 1f8fcb558d
fix error handling in freedom, shadowsocks and socks 2018-02-19 21:38:04 +01:00
Darien Raymond 292d7cc353
massive refactoring for interoperability 2018-01-10 12:22:37 +01:00
Darien Raymond ab4f245313
overrideable dns 2017-12-19 23:55:09 +01:00
Darien Raymond f4c35db968
merge log into common log 2017-12-19 21:28:12 +01:00
Darien Raymond d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond fd8db49dc9
generalized event handler 2017-11-28 23:41:20 +01:00
Darien Raymond f90ec9fff0
rename interfaces 2017-11-27 22:18:39 +01:00
Darien Raymond 3214a5078c
customizable policy 2017-11-27 22:09:30 +01:00
Darien Raymond f3ba1dbb8c
fix lint warnings 2017-11-15 18:28:39 +01:00
Darien Raymond 23f209075f
use ip if already resolved 2017-11-15 12:55:54 +01:00
Darien Raymond 0dbfb66126
clean up dns package 2017-11-15 00:36:14 +01:00
Darien Raymond cab5c10fc2
remove use of KeepAlive 2017-11-07 22:31:47 +01:00
Darien Raymond 2ce1d8ffa2 Revert "support early terminition in Freedom"
This reverts commit 3d0b2e4c79.
2017-09-27 15:10:25 +02:00
Darien Raymond 3d0b2e4c79 support early terminition in Freedom 2017-09-27 14:09:38 +02:00
Darien Raymond e149782025 simplify destination copy logic 2017-09-11 22:03:26 +02:00
Darien Raymond 6f3362fc4c
update activity 2017-04-27 22:30:48 +02:00
Darien Raymond 498c7dafdf
clean udp writer 2017-04-21 14:51:09 +02:00
Darien Raymond ab9349ec31
rename buf.Copy 2017-04-17 22:50:02 +02:00
Darien Raymond cdcf72cbe7
refine error messages 2017-04-16 22:48:51 +02:00
Darien Raymond 2f565bfd5e
simplify ray stream 2017-04-16 09:57:28 +02:00
Darien Raymond 35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond ade8453c0a
completely remove connection reuse feature 2017-04-07 21:54:40 +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 e39a67d5bc
log timeout in freedom 2017-03-31 17:45:55 +02: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 9462f710a5
able to redirect to another destination in freedom 2017-01-26 23:05:24 +01:00
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00