Commit graph

639 commits

Author SHA1 Message Date
世界
81d1bc2768
Fix vectorised writer test 2023-12-24 08:03:41 +08:00
世界
2e36fa6849
Improve vectorised writer 2023-12-24 08:03:41 +08:00
世界
edd320c3a8
badjson: Add UnmarshalExtended 2023-12-24 08:03:41 +08:00
世界
56b953e091
Add nil checking to MergeJSON function in badjson
The MergeJSON function in the badjson package has been updated to handle cases where the source or destination raw JSON is nil. This introduces error checking that results in returning an error when both are nil and returning the non-nil JSON when only one is nil.
2023-12-24 08:03:41 +08:00
世界
4c4773fe54
badjson: Refactor and restructure Merge functions
The Merge function has been refactored for clearer code by splitting it into multiple functions: "Merge", "MergeFromSource", "MergeFromDestination" and "MergeFrom" in the badjson package. These new functions improve the handling of raw JSON during merge and with this refactoring, the responsibility of each function is more defined.
2023-12-24 08:03:41 +08:00
世界
36acc18bfb
Add Ptr function to common
A new function Ptr has been added to common/cond.go. This function returns address of any type of object that is passed as an argument to it. This enhancement will be useful in many scenarios where pointer to an object is required.
2023-12-24 08:03:40 +08:00
世界
ad670bab68
Improve WriteZeroN using clear in go1.21 2023-12-24 08:03:40 +08:00
世界
2a2dbf1971
Add compat func for clear 2023-12-24 08:03:40 +08:00
世界
afa72012e5
Update renovate configuration 2023-12-24 08:03:40 +08:00
世界
c7ef05a85b
Fix buffer
Will be merged into f0be1a9e
2023-12-24 08:03:39 +08:00
世界
0f7de716ac
Refactor the Authenticator interface to a struct 2023-12-24 08:03:39 +08:00
世界
231d7607bc
Enable read wait copy for windows 2023-12-24 08:03:39 +08:00
世界
8b43ec8058
Add reserve support for buffer 2023-12-24 08:03:39 +08:00
世界
c17babe0ba
Merge ThreadSafeReader into ReadWaiter interface 2023-12-24 08:03:38 +08:00
世界
1f02d6daca
Implementation read waiter for pipe 2023-12-24 08:03:38 +08:00
世界
aa34723225
Implementation read waiter for socks5 UDP and UoT 2023-12-24 08:03:38 +08:00
世界
ae8098ad39
Refactor read waiter interface 2023-12-24 08:03:38 +08:00
世界
05c71c99d1
badjson: Add Omitempty 2023-12-24 08:03:37 +08:00
世界
060edf2d69
badjson: Remove empty JSON object in JSON object 2023-12-24 08:03:37 +08:00
世界
d171f04941
json: use context json in go1.20 2023-12-24 08:03:36 +08:00
世界
51aeb14a87
contextjson120: Add context to decode error message 2023-12-24 08:03:36 +08:00
世界
96f5dea24b
contextjson120: Import form go1.20.11 2023-12-24 08:03:36 +08:00
世界
3336b50119
Migrate json wrapper and badjson to library 2023-12-24 08:03:35 +08:00
世界
36be4ef141
contextjson: Add context to decode error message 2023-12-24 08:03:35 +08:00
世界
843bab522a
contentjson: Import from go1.21.4 2023-12-24 08:03:35 +08:00
H1JK
af92594d6d
Shrink buf pool range 2023-12-24 08:03:35 +08:00
H1JK
f23499eaea
Pool allocate arrays instead of slices
This is inspired by https://go-review.googlesource.com/c/net/+/539915
2023-12-24 08:03:34 +08:00
世界
d7ce998e7e
Remove legacy buffer header 2023-12-24 08:03:34 +08:00
世界
99d07d6e5a
Add concurrency limit for task 2023-12-24 08:03:34 +08:00
世界
028dcd722c
Add serialize support for domain matcher 2023-12-24 08:03:34 +08:00
世界
349d7d31b3
Fix calculate host for HTTP connect client 2023-12-24 08:02:11 +08:00
世界
544863e3f4
Try to fix HTTP server leak again 2023-12-21 14:12:41 +08:00
世界
5a3d0edd1c
Update quic bad error list 2023-12-08 14:54:57 +08:00
世界
0d701cfff0
Fix buffer WriteZeroN 2023-12-08 14:54:54 +08:00
世界
01c915e1e4
Fix "Fix not set Host header for HTTP proxy client" 2023-12-08 11:03:25 +08:00
世界
6b69046063
Fix fallback packet conn 2023-12-06 19:01:05 +08:00
世界
1ee2a5bd0e
Update dependencies 2023-12-06 19:01:05 +08:00
世界
0ba5576c7b
Fix not set Host header for HTTP proxy client 2023-12-03 16:52:53 +08:00
世界
bca74039ea
Fix deadline reader 2023-12-01 13:41:22 +08:00
世界
2dcabf4bfc
Add binary.NativeEndian wrapper 2023-11-24 20:52:53 +08:00
世界
7c05b33b2d
Add common.Top func 2023-11-24 20:52:49 +08:00
世界
0d98e82146
Add unidirectional NATPacketConn 2023-11-24 20:52:29 +08:00
世界
e50e7ae2d3
Fix "Fix HTTP server leak" 2023-11-24 19:57:45 +08:00
世界
5b9d6eba38
Add filemanager.chown 2023-11-24 19:57:45 +08:00
世界
d6fe25153c
Add NetConn() net.Conn support for cast 2023-11-24 19:57:45 +08:00
世界
81c1436b69
Add remove for filemanager 2023-11-05 16:05:39 +08:00
世界
38cdffccc5
Update dependencies 2023-11-05 15:35:18 +08:00
世界
8002db54c0
Add http.parseBasicAuth func stub 2023-10-21 17:08:46 +08:00
世界
27518fdf12
Improve linux bind interface 2023-10-21 17:07:11 +08:00
世界
570295cd12
Fix invalid address check in UoT conn 2023-10-21 16:35:48 +08:00