1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
Commit Graph

1233 Commits

Author SHA1 Message Date
Shelikhoo
99c9beac4e
remove unused member of struct from http roundtripper 2023-09-24 22:39:17 +01:00
Tim Xylon
e102d52e7c
Migrate to quic-go v0.36.0 (#2561) 2023-07-01 15:31:19 +08:00
Shelikhoo
1f8e71fe5c
apply styles 2023-05-30 17:49:28 +01:00
Shelikhoo
b7e8554ee3
http request decide protocol based on ALPN 2023-05-30 17:48:55 +01:00
Shelikhoo
94639807ad
add meek request stereotype 2023-05-29 23:55:45 +01:00
Shelikhoo
f68115c37e
add request transport base 2023-05-29 23:55:45 +01:00
Shelikhoo
c055a08b2c
Refine header based websocket earlydata fix 2023-02-19 14:41:28 +00:00
dyhkwong
dca2f2bd83
fix header-based websocket earlydata compat 2023-02-19 14:34:22 +00:00
Vigilans
b1d38db30a
Support using custom resolver when dialing domain address 2023-02-19 13:34:15 +00:00
Cubarco
c5386b88ad
Fix sockopt.TcpKeepAliveInterval
The Keep-Alive configs may be overridden with golang default settings when `tcpKeepAliveInterval` is set without `tcpKeepAliveIdle`.
Adopt: https://github.com/XTLS/Xray-core/pull/1328
2023-02-19 12:24:24 +00:00
heimoshuiyu
b8ab91b0d3
Skip validating on empty http host config 2023-02-18 14:39:33 +00:00
Shelikhoo
a090b7849d
Add uTLS ALPN Control: auto generated 2023-02-06 20:33:25 +00:00
Shelikhoo
7b434ced58
Add uTLS ALPN Control 2023-02-06 20:33:25 +00:00
秋のかえで
07ed4e0d29
Chore: use Go 1.20 (#2297) 2023-02-03 17:08:53 +08:00
Shelikhoo
001aace748
Fix Server Name not Supplied to Security Engine for TCP Transport 2023-01-14 15:27:16 +00:00
Shelikhoo
3631053c2b Crash process when encountered when unknown security settings type was supplied 2022-12-24 21:52:23 +00:00
Shelikhoo
e4188c8604 Add uTLS support for Security Engine 2022-12-24 21:52:23 +00:00
Shelikhoo
4a887e3b77 Use security engine for (tls like) security client in websocket transport 2022-12-24 21:52:23 +00:00
Shelikhoo
de55f3a675 Use security engine for (tls like) security client without transport 2022-12-24 21:52:23 +00:00
_ksco
d5b5d60956
Fix(freebsd): ReadUDPMsg nil pointer
Co-authored-by: ksco.he <ksco.he@ponyft.com>
Co-authored-by: 秋のかえで <autmaple@protonmail.com>
2022-10-09 10:15:16 +08:00
秋のかえで
b9a8a7e237
Feat: add transport original name to listen unix (#2048) 2022-10-08 09:04:05 +08:00
秋のかえで
5593fdee09
Feat: add bind to device to Windows and Darwin (#1972) 2022-10-08 09:03:51 +08:00
Shelikhoo
137cd7093c
chore: regenerate protobuf file 2022-09-06 20:36:27 +01:00
秋のかえで
05df03edc0
Feat: increase idle timeout to 300s for udp split (#1903) 2022-08-19 20:12:30 +08:00
秋のかえで
3dd347f9d2
Chore: bump github.com/lucas-clemente/quic-go from 0.27.0 to 0.28.0 2022-07-15 11:13:44 +08:00
世界
fc6ae4d4e7
Fix lint 2022-06-28 21:36:12 +08:00
Huang-Huang Bao
02c8b04230 Fix: correct TCP keepalive sockopt names for darwin
Fixes: a0eb84dbff
2022-06-25 19:45:18 +01:00
Shelikhoo
4e24784082
Add JsonV5 support for QUIC: auto generated 2022-05-12 23:05:08 +01:00
Shelikhoo
7deca02977
Add JsonV5 support for QUIC 2022-05-12 23:05:07 +01:00
Shelikhoo
52ea2b0146
Fix TLS Client Certificate Verify Not Applied 2022-05-03 15:23:33 +01:00
Loyalsoldier
d9125f91af
Fix: gci command for formatting code (#1757)
* Fix: gci command for formatting code
* Chore: format code
2022-05-01 00:47:14 +08:00
秋のかえで
552936674c
Style: formart code by gofumpt 2022-04-07 00:06:46 +08:00
秋のかえで
2332513471
Chore: fix gofumpt lint (#1719) 2022-04-06 23:48:16 +08:00
1ocalhost
64a780bba6
Fix: net.Address type checking (#1629)
Allow zero port for listening port, namely random port.
2022-04-06 13:42:25 +08:00
yuhan6665
7bcb3c901b
Fix client dialer log (#1568)
* Fix client dialer log

Log such as:
tunneling request to tcp:www.google.com:80 via tcp:x.x.x.x:443
the second "tcp" is misleading when using mKcp or quic transport

Remove the second "tcp" and add the correct logging for transport dialer:
- transport/internet/tcp: dialing TCP to tcp:x.x.x.x:443
- transport/internet/quic: dialing quic to udp:x.x.x.x:443

* Update transport/internet/quic/dialer.go

Co-authored-by: 秋のかえで <autmaple@protonmail.com>

Co-authored-by: 秋のかえで <autmaple@protonmail.com>
Co-authored-by: Kslr <kslrwang@gmail.com>
2022-04-06 13:24:43 +08:00
秋のかえで
84c31ba87f
Chore: bump github.com/lucas-clemente/quic-go from 0.26.0 to 0.27.0 (#1716) 2022-04-06 12:59:25 +08:00
dyhkwong
5ce71e0652
Feat: make gRPC dialer accept socket config (#1697) 2022-04-06 12:26:04 +08:00
Shelikhoo
4357719480 apply sockopt rename 2022-01-23 20:33:01 +00:00
Shelikhoo
190a8e7ed7 rename sockopt options: auto generated 2022-01-23 20:33:01 +00:00
Shelikhoo
1fc7c5731a rename sockopt options 2022-01-23 20:33:01 +00:00
Shelikhoo
547b4fb49b rewrite sockopt rxtx buf size message for darwin, freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
16a44f65be add socksopt rxtxbuf for freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
1a004529d9 apply coding style for keep alive sockopt in freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
1a35c1dc69 add socksopt rxtxbuf for freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
7dc8559f1c add socksopt rxtxbuf for windows 2022-01-23 20:33:01 +00:00
Shelikhoo
eb0b52fdfa add socksopt bindToDevice, rxtxbuf for linux 2022-01-23 20:33:01 +00:00
Shelikhoo
ccab22b863 add force buffer size sockopt option: auto generated 2022-01-23 20:33:01 +00:00
Shelikhoo
e088086abf add force buffer size sockopt option 2022-01-23 20:33:01 +00:00
Shelikhoo
1019ae36c2 refactor linux socket opts 2022-01-23 20:33:01 +00:00
Shelikhoo
434d8a49a0 add bind to device, socket buf size setting to socket options: auto generated 2022-01-23 20:33:01 +00:00