Commit Graph

19 Commits

Author SHA1 Message Date
Loyalsoldier 6f8979d017
Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
Loyalsoldier f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
loyalsoldier b181045b0c
Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
RPRX 9311cb18e4
Remove unused utls 2020-07-20 05:59:46 +00:00
Darhwa d29370a654 Enhance http outbound
1. Enables http outbound to set up a HTTP tunnel above HTTP/1.1,
  HTTP/1.1 over TLS, or HTTP/2 over TLS. Previously it only works for
  plain HTTP/1.1
2. In setting up CONNECT tunnel, replaces handcrafted request with
  standard http.Request
2020-06-20 23:03:44 +08:00
vcptr fa0a21f0dd external module refraction-networking/utls use mod version 2019-10-19 10:22:49 +08:00
Kirill Motkov 0401a91ef4 Some code improvements
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
Darien Raymond c072d38e2c
refine tls connection 2019-02-17 00:58:02 +01:00
Darien Raymond 1ab94fed79
optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond 41b1ac192e
use compact in tls writer 2018-12-27 20:38:24 +01:00
Darien Raymond 091fa6ad23
use new errorgen 2018-09-30 23:08:41 +02:00
Darien Raymond 14dc6371d3
receive handshake address from tls conn 2018-07-14 13:58:24 +02:00
Darien Raymond a657ec49a0
comments 2018-04-17 23:33:39 +02:00
Darien Raymond d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond 594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond d5fd7efa7e
fast read on first packet 2017-11-08 22:23:21 +01:00
Darien Raymond cea6e28634
refactor 2017-04-23 13:41:52 +02:00
Darien Raymond 5f4acaa9ea
merging reader and writer 2017-04-20 11:00:15 +02:00
Darien Raymond 35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00