Commit Graph
114 Commits
Author SHA1 Message Date
Darien Raymond e3cc852c57 udp dispatcher takes context with dispatching requests. fixes #1182. 2018-07-03 21:38:02 +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 b453190e58 fix lint errors in socks 2018-05-26 02:01:48 +02:00
Darien Raymond dd52e82c2d fix access log in socks udp 2018-05-26 01:55:50 +02:00
Darien Raymond 213f827406 policy for internal buffer size 2018-05-25 12:08:28 +02:00
Darien Raymond 148a7d064d simplify buf.BufferedReader 2018-04-21 00:54:53 +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 9d7f43a299 fix lint errors 2018-04-11 16:15:29 +02:00
Darien Raymond caa52e9327 early release buffers for better reusing 2018-02-25 00:02:31 +01:00
Darien Raymond 61c258f2be input channel was being closed too quickly 2018-02-23 23:42:33 +01:00
Darien Raymond af1abf687c unify all address reading and writing 2018-02-23 23:42:01 +01:00
Darien Raymond a059ee2c00 fix lint errors 2018-02-23 17:14:20 +01:00
Darien Raymond 798212b311 fix timer settings 2018-02-23 17:07:45 +01: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 292d7cc353 massive refactoring for interoperability 2018-01-10 12:22:37 +01:00
Darien Raymond f4c35db968 merge log into common log 2017-12-19 21:28:12 +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 0dbfb66126 clean up dns package 2017-11-15 00:36:14 +01:00
Darien Raymond 594ec15c09 cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond cab5c10fc2 remove use of KeepAlive 2017-11-07 22:31:47 +01:00
Darien Raymond cec45a416c allow fast close on UDP session. fix #682 2017-11-04 20:50:17 +01:00
Darien Raymond 3a27ff8239 increase default timeout to 5 minutes 2017-09-27 21:09:13 +02:00
Darien Raymond 109a37fe7e aggressively close connection when response is done 2017-09-27 15:29:00 +02:00
Darien Raymond 190adf1872 fix socks client for super long domain 2017-09-19 01:39:33 +02:00
Darien Raymond 5829b45bbe close timer faster 2017-05-09 00:01:15 +02:00
Darien Raymond 6f3362fc4c update activity 2017-04-27 22:30:48 +02:00
Darien Raymond ceffb71e7b refactor 2017-04-18 22:35:13 +02:00
Darien Raymond ab9349ec31 rename buf.Copy 2017-04-17 22:50:02 +02:00
Darien Raymond b1dfff2fdd remove 8k buffer pool 2017-04-15 21:19:21 +02:00
Darien Raymond f506a39d32 multi buffer 2017-04-15 21:07:23 +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 b4cd497abf update error messages 2017-04-06 22:00:32 +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 6363c33790 detect actual address type for domain address type 2017-02-22 10:24:04 +01:00
Darien Raymond 020b436827 merge bufio into buf 2017-02-15 22:51:01 +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 ad7d98473f remove timeout reader 2017-01-31 16:49:59 +01:00
Darien Raymond c462e35aad cancel sessions after inactivity 2017-01-31 12:42:05 +01:00