Commit graph

53 commits

Author SHA1 Message Date
gVisor bot
4077fb59be chore: direct append data to bufio.Reader's internal buffer as much as possible 2023-11-09 22:19:29 +08:00
gVisor bot
a918cd66d8 chore: hello mihomo 2023-11-03 21:58:21 +08:00
gVisor bot
797769798b chore: support v2ray http upgrade server too 2023-11-03 13:58:53 +08:00
gVisor bot
335ce99284 chore: add SetupContextForConn for common/net 2023-11-03 11:50:25 +08:00
gVisor bot
f1df54e44b chore: better bufio.Reader warp 2023-11-02 11:11:35 +08:00
gVisor bot
49610fcb1b fix: hy2/tuic inbound cert isn't path
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-10-01 12:04:34 +08:00
gVisor bot
04a8da4856 fix: fail to set KeepAliveIntervall #715 2023-09-25 14:05:13 +08:00
gVisor bot
e7264d7a78 chore: TCPKeepAlive interval set to 15s by default 2023-09-03 20:42:54 +08:00
gVisor bot
aab21720b5 feat: configurable TCPKeepAlive interval 2023-09-02 16:45:16 +08:00
gVisor bot
5f25633a0c chore: Random only if the certificate and private-key are empty 2023-06-03 17:45:47 +08:00
gVisor bot
eb6e56de4e fix: deadline reader cause panic 2023-05-30 20:21:51 +08:00
gVisor bot
755f7c27b8 chore: add WaitReadFrom support in ssr 2023-05-28 22:51:44 +08:00
gVisor bot
14c1918e6c chore: add WaitReadFrom support in quicStreamPacketConn 2023-05-28 15:22:08 +08:00
gVisor bot
87a74b8ded chore: rebuild ref and threadSafe packetConn 2023-05-20 16:57:42 +08:00
gVisor bot
5af4f4995f chore: packet deadline support CreateReadWaiter interface 2023-05-20 11:44:11 +08:00
gVisor bot
9ff246b29d chore: better packet deadline 2023-05-19 23:29:59 +08:00
gVisor bot
a8b57b19c3 chore: better sing's udp api support 2023-05-15 22:45:08 +08:00
gVisor bot
d70a424a78 fix: UDP packet should not return io.EOF 2023-05-15 19:06:58 +08:00
gVisor bot
4c38b2f0bf fix: sing-based listener panic 2023-05-12 09:14:27 +08:00
gVisor bot
2f33ef8642 fix: Deadline not apply on EnhancePacketConn 2023-05-11 19:58:50 +08:00
gVisor bot
31b70b9fbd chore: decrease shadowsocks udp read memory used for no-windows platform 2023-05-11 19:01:41 +08:00
gVisor bot
0253db1a1a fix: mux's udp should add write lock 2023-05-11 15:34:28 +08:00
gVisor bot
82be6a68ad chore: decrease direct udp read memory used for no-windows platform 2023-05-11 13:47:51 +08:00
gVisor bot
6e539f4b0d chore: drop bufio.Reader in BufferedConn to let gc can clean up its internal buf 2023-05-11 11:30:20 +08:00
gVisor bot
50fef8e201 fix: sing inbound should check needAdditionReadDeadline on udp too 2023-05-10 16:03:28 +08:00
gVisor bot
2bc88b1741 chore: support splice for direct outbound 2023-04-25 23:01:05 +08:00
gVisor bot
7867b7ea2d chore: using new chan based deadline reader 2023-04-17 19:29:07 +08:00
gVisor bot
0e2f5e4436 fix: ensure StreamWebsocketConn call N.NewDeadlineConn 2023-04-17 00:23:12 +08:00
gVisor bot
c305ea2b7a chore: Add read deadline implementation 2023-04-09 22:58:05 +08:00
gVisor bot
ae5fafa885 chore: make all net.Conn wrapper can pass through N.ExtendedConn 2023-04-02 22:24:46 +08:00
gVisor bot
dea929bdae fix: let quic-go works on outbound's packetConn 2023-03-15 09:56:00 +08:00
gVisor bot
e45b8dc404 chore: add early conn interface to decrease unneeded write 2023-02-27 00:26:49 +08:00
gVisor bot
6c6910b273 fix: peek not work with some inbound 2023-02-25 19:41:14 +08:00
gVisor bot
a132fe585b chore: use early conn to support real ws 0-rtt 2023-02-24 09:54:54 +08:00
gVisor bot
1a902df48b chore: new Random TLS KeyPair when empty input 2023-01-18 12:06:36 +08:00
gVisor bot
5fd6a3f18f fix: add Upstream to refconn 2023-01-16 13:26:30 +08:00
gVisor bot
4135e6978a fix: add ReaderReplaceable to BufferedConn, avoid buffered data lost 2023-01-16 12:28:30 +08:00
gVisor bot
d926d6106f chore: code cleanup 2023-01-16 12:11:34 +08:00
gVisor bot
73f1fcb324 adjust: Improve WebSocket mask 2023-01-16 11:42:10 +08:00
gVisor bot
58ee2ae7f5 chore: decrease direct depend on the sing package 2023-01-16 10:50:31 +08:00
gVisor bot
7df6e79cf0 refactor: Implement extended IO 2023-01-16 09:42:03 +08:00
gVisor bot
ec0136af1b chore: rebuild relay 2022-12-19 21:34:07 +08:00
gVisor bot
b764d344fe chore: listeners support tuic 2022-12-04 23:05:13 +08:00
gVisor bot
f459018eae refactor: adjust config 2022-12-03 14:14:15 +08:00
gVisor bot
3ed496ac65 fix: remove cyclic dependent to make tuic's Finalizer work 2022-12-02 16:56:17 +08:00
gVisor bot
125733ea70 chore: remove buffer for relay 2022-10-02 20:28:31 +08:00
gVisor bot
5953a4cfb5 refactor: 抽离http请求方法 2022-06-04 19:14:39 +08:00
gVisor bot
4aaa9f8ca8 Fix: http proxy Upgrade behavior (#2097) 2022-04-27 12:38:31 +08:00
gVisor bot
0a96994452 [Refactor] gvisor support hijack dns list
dns-hijack:
 - 1.1.1.1
 - 8.8.8.8:53
 - tcp://1.1.1.1:53
 - udp://223.5.5.5
 - 10.0.0.1:5353
2022-01-09 00:35:45 +08:00
gVisor bot
e1a1f87dd4 [Style] Add User-Agent for provider request 2021-12-26 22:26:53 +08:00