Commit Graph
29 Commits
Author SHA1 Message Date
Shelikhoo cfc6bd465b Add h1SkipWaitForReply Option to http proxy protocol 2023-05-29 00:07:26 +01:00
lrh2000andShelikhoo 396ee770b7 proxy: Unify timeouts of different protocols for reading the first payload 2022-06-25 19:34:32 +01:00
lrh2000andShelikhoo 17d85263e2 proxy/http: Avoid getting stuck when using server-first protocols
PR #99 reduces an extra RTT when setting up the CONNECT tunnel
via http proxy, however, server-first protocols (such as MySQL)
will be unusable as v2ray keeps to wait for the client request.
This commit solves the problem by limiting the maximum waiting
time to 50 ms.
2022-06-25 19:26:33 +01:00
Shelikhoo 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
JebbsandShelikhoo b05a469488 v5: Remove v2ctl & wv2ray (rebased from 7c1ab06206) 2021-09-04 11:09:55 +01:00
database64128andGitHub c78ee5aac7 🏡 Housekeeping: Update to Go 1.17 (#1215)
* ⬆ Update to Go 1.17

* 🏗 Update workflows and add windows-arm64

* 💾 Update generated files

* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
LoyalsoldierandGitHub 6f8979d017 Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
LoyalsoldierandGitHub f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
LoyalsoldierandGitHub 5e99737c12 Fix: close response body (#484) 2020-12-03 16:07:41 +08:00
LoyalsoldierandGitHub b68f943c78 Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
e3b96a1b56 Disable 0-rtt mechanism for http/1 outbound (#372)
Fix #357

Co-authored-by: August Njam Brong <longran1989@gmail.com>
2020-10-31 11:03:46 +08:00
Darhwa d2d4f48815 Fix the coarse-grained mutex in http outbound
fix v2ray#2731
2020-09-13 02:07:22 +08:00
loyalsoldier f9175e3bc8 Fix according to go vet results 2020-08-26 19:35:33 +08:00
Darhwa d05ddc8f78 Make http outbound 0-rtt 2020-08-15 23:58:58 +08:00
Darhwa cae278dd00 Fix http outbound
Get correct TLS negotiated protocol when stats setting exists
2020-07-31 23:51:08 +08:00
Darhwa 1acb2fd854 Some cleaning and linting 2020-07-31 23:49:54 +08:00
DarhwaandDarhwa 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
Kslr cfbb875546 Revert "Reduce http proxy client overhead by 1RTT" 2020-03-19 19:11:17 +08:00
Anonymous-Someneeseandkslr 99cf401867 http: send HTTP Connect if no content is written after 5ms. 2020-03-12 00:42:29 +08:00
Anonymous-Someneeseandkslr a5caa01cb6 Optimize HTTP tunnel setup in TFO environment 2020-03-12 00:42:29 +08:00
Anonymous-Someneeseandkslr 197fe15d5a Fix code quality 2020-03-12 00:42:29 +08:00
Anonymous-Someneeseandkslr f0e63c6e3c Reduce http proxy client overhead by 1RTT 2020-03-12 00:42:29 +08:00
yuanmomo 95f1a4d466 blank row between build and package 2019-08-08 12:27:39 +08:00
vcptr 27da2d139f fix: !confonly missing in http client 2019-08-07 14:49:29 +08:00
wuxiaolong acde5a55b6 Rewrite comments in English 2019-07-24 22:08:21 +08:00
wuxiaolong 97764114ea Support http outbound 2019-07-24 09:15:05 +08:00
Darien Raymond 13f3c356ca unified task package 2018-05-27 13:02:29 +02:00
v2ray 3f9cb1136a allow dynamic type of user accounts 2016-05-28 13:44:11 +02:00
v2ray ef200c3c5e http client 2016-05-07 14:08:27 +02:00