3241 Commits

Author SHA1 Message Date
Y. T. Chung
2b73b7d1c7 Use Rc instead of Arc, optimize server structure 2016-10-27 23:50:21 +08:00
Y. T. Chung
30f049424b remove all unnecessary Send trait bound 2016-10-27 23:12:20 +08:00
Y. T. Chung
412cf3951c updated readme, appveyor and remove unused tool 2016-10-27 09:34:48 +08:00
Y. T. Chung
68fd3b6aa6 fixed http proxy encrypting writer logic 2016-10-27 02:30:34 +08:00
Y. T. Chung
73cc2b47aa add finalize after read done 2016-10-27 02:01:24 +08:00
Y. T. Chung
c2d9ca53c0 [#28] Add customized write_all and copy fror EncryptedWriter 2016-10-27 01:47:06 +08:00
Y. T. Chung
ea4c1878b7 Fixed #28, should not use write_all on non-blocking sockets 2016-10-27 00:27:11 +08:00
Y. T. Chung
f302298c91 Add dummy cipher 2016-10-26 23:38:35 +08:00
Y. T. Chung
b24f4c961d remove unnecessary flush and if 2016-10-26 23:28:41 +08:00
Y. T. Chung
f3be905c20 Add DnsResolver, support domain name server address 2016-10-26 02:06:14 +08:00
Y. T. Chung
8a8b5b5907 remove unnecessary struct instance 2016-10-26 00:01:37 +08:00
Y. T. Chung
de4dc07f9b updated appveyor build 2016-10-25 23:32:58 +08:00
Y. T. Chung
05b48c1ff1 Remove Arc in Config, wrap it in Relay itself 2016-10-25 23:05:44 +08:00
Y. T. CHUNG
515fb22dd1 Merge pull request #29 from paomian/20161025
(chore) change match to try macro
2016-10-25 15:53:10 +08:00
paomian
e40f035810 (chore) change match to try macro 2016-10-25 14:58:10 +08:00
Y. T. Chung
12453b0195 merge handshake logic 2016-10-25 01:43:36 +08:00
Y. T. Chung
5134507102 fixed http proxy 2016-10-25 00:58:34 +08:00
Y. T. Chung
8a5f45edfc code optimization 2016-10-25 00:23:24 +08:00
Y. T. Chung
20212c4a49 [#28] Split server handshake to futures 2016-10-24 21:21:40 +08:00
Y. T. Chung
ceafe59f61 [#28] Split proxy server connection before IV handshakes 2016-10-24 18:46:26 +08:00
Y. T. Chung
9f5d42ebd8 Fixed partial relay by restoring select to join 2016-10-24 11:12:45 +08:00
Y. T. Chung
2945329744 Fixed partial relay by restoring select to join 2016-10-24 11:12:03 +08:00
Y. T. Chung
5c773b4226 handshake both directions in the mean time 2016-10-24 09:15:21 +08:00
Y. T. Chung
bf612ded39 use select instead of join 2016-10-24 00:56:26 +08:00
Y. T. Chung
43fd644868 ignore empty header name 2016-10-24 00:28:25 +08:00
Y. T. Chung
2085ad091e ignore invalid http header, ignore request X-Forward-IP 2016-10-23 23:45:12 +08:00
Y. T. Chung
3dc790dff1 add more useful logs for debugging 2016-10-23 23:05:23 +08:00
Y. T. Chung
ff194a02d8 continue http proxy only if keep-alive 2016-10-23 22:57:31 +08:00
Y. T. Chung
3e4ad78ef9 response instead of panic 2016-10-23 22:37:16 +08:00
Y. T. Chung
4fc899eeff remove log level 4 2016-10-23 22:27:32 +08:00
Y. T. Chung
0c946e3182 Fixed libsodium iv len, fixed tests 2016-10-23 22:22:54 +08:00
Y. T. Chung
a3a878a533 fixed configure 2016-10-23 22:09:37 +08:00
Y. T. Chung
77d75c6193 Deprecated socks5-tools, fixed url build 2016-10-23 22:07:56 +08:00
Y. T. Chung
f0db77ff7a fixed http bug 2016-10-23 22:03:02 +08:00
Y. T. Chung
873a98655a Fixed bug of HTTP Connect method 2016-10-23 21:06:06 +08:00
Y. T. Chung
5bf6560352 Migrating to futures and tokio 2016-10-23 20:00:50 +08:00
Y. T. Chung
05d3dc2f87 add necessary improvements 2016-10-21 02:19:36 +08:00
Y. T. Chung
5462e5ba28 add sample configs 2016-10-21 01:20:21 +08:00
Y. T. Chung
fe5003f9a2 Updated readme 2016-10-21 01:16:57 +08:00
Y. T. Chung
bbfcec5326 add stat 2016-10-21 01:14:12 +08:00
Y. T. Chung
d27d7414b7 better logs 2016-10-21 00:38:48 +08:00
Y. T. Chung
30b47b6a56 move HttpRequest into http.rs 2016-10-20 08:55:02 +08:00
Y. T. Chung
2cb96a0016 fully impls HTTP proxy 2016-10-19 23:41:42 +08:00
Y. T. Chung
51ea7e5b3f refactor and add necessary support for other http method 2016-10-19 13:31:48 +08:00
Y. T. Chung
434fd6cae8 refactor for code reuse 2016-10-19 11:35:47 +08:00
Y. T. Chung
2e7e403293 initial impls HTTP tunnel 2016-10-19 00:44:36 +08:00
Y. T. Chung
a5ac010315 relay copy cleanup 2016-07-25 23:05:42 +08:00
Y. T. Chung
bde48c6dd2 adjust stack size for log printing 2016-07-24 10:20:50 +08:00
Y. T. Chung
ed5bfb9066 swap read and write stream 2016-07-24 10:09:22 +08:00
Y. T. Chung
919ad6e331 fixed bug 2016-07-24 09:13:51 +08:00