yusing
8469b6406c
tweak: consolidate bytes pool management and enhance CopyClose functionality for improved performance
Docker Image CI (socket-proxy) / build (push) Has been cancelled
2025-05-25 16:20:12 +08:00
yusing
c1221e61d4
refactor: improve task management with xsync for concurrent access and enhance callback and subtasks handling as well as memory allocation
2025-05-25 15:01:44 +08:00
yusing
f0ab14cb1e
tweak: optimize memory usage under load
Docker Image CI (nightly) / build-nightly (push) Waiting to run
Docker Image CI (nightly) / build-nightly-agent (push) Waiting to run
2025-05-24 22:05:42 +08:00
yusing
20a1649275
tweak: disable bytes pool for socket-proxy and agent
Docker Image CI (nightly) / build-nightly (push) Waiting to run
Docker Image CI (nightly) / build-nightly-agent (push) Waiting to run
2025-05-23 23:01:27 +08:00
yusing
f1e204f7fd
refactor: simplify io code and make utils module independent
2025-05-23 22:19:14 +08:00
yusing
9711867fbe
tweak: optimize memory usage and allocation
2025-05-22 22:43:11 +08:00
yusing
2e68baa93e
tweak: optimize memory allocation and increase throughput
2025-05-16 07:15:45 +08:00
yusing
8f9c76daa5
chore: update dependencies
2025-05-14 21:00:53 +08:00
yusing
8e27886235
fix: incorrect unmarshal behavior for pointer primitives
2025-05-14 12:20:52 +08:00
yusing
21724c037f
fix: error formatting
2025-05-13 20:11:03 +08:00
yusing
c05059765d
style: coed cleanup and fix styling
2025-05-10 10:46:31 +08:00
yusing
8fe94d6d14
feat(socket-proxy): implement Docker socket proxy and related configurations
...
- Updated Dockerfile and Makefile for socket-proxy build.
- Modified go.mod to include necessary dependencies.
- Updated CI workflows for socket-proxy integration.
- Better module isolation
- Code refactor
2025-05-10 09:47:03 +08:00
yusing
b8c0961de3
test: fix failed tests after code changes
2025-05-05 20:05:47 +08:00
yusing
75db09b1f3
feat(rules): compile path rules directly to glob
2025-05-05 14:42:55 +08:00
yusing
e2ae29795d
test: add unit tests for FormatByteSize function
2025-05-05 13:27:51 +08:00
yusing
98e90d7a0b
refactor: improve error handling and response formatting in API
2025-05-03 17:41:10 +08:00
yusing
82c829de18
feat: notifications retry mechanism and improved error formatting
2025-05-03 14:30:40 +08:00
yusing
62c551c7fe
fix: tests
2025-04-30 17:42:51 +08:00
yusing
80e59bb481
fix: nil panic on unmarshaling zero value
2025-04-30 12:06:49 +08:00
yusing
7aa1215491
refactor: rename Deserialize to MapUnmarshalValidate
2025-04-29 07:26:14 +08:00
yusing
9e4aa32120
deps: remove problematic sonic json library
2025-04-25 19:09:27 +08:00
yusing
2f33ee02d9
chore: replace gopkg.in/yaml.v3 with goccy/go-yaml
2025-04-25 08:36:54 +08:00
yusing
59490dcac0
refactor: move mock time to utils
2025-04-25 08:26:00 +08:00
yusing
edada22ac0
fix: tests
2025-04-24 15:45:34 +08:00
yusing
31812430f1
merge: access log rotation and enhancements
2025-04-24 15:29:18 +08:00
yusing
663a107c06
merge: main branch
2025-04-24 15:02:31 +08:00
yusing
bcc19167d4
feat: enhanced string utilities
...
- relative time formatting
- better relative duration formatting
2025-04-24 06:27:32 +08:00
yusing
858f65ee5a
fix: update code for error handling changes, remove unused code
2025-04-24 06:24:28 +08:00
yusing
ec8cca1245
feat: trie implementation
2025-04-24 05:56:03 +08:00
yusing
146e7781be
fix: limit redirect count when parsing html for favicon, fix url sanitize method
2025-03-29 09:35:12 +08:00
yusing
232f720e77
refactor: use stretchr/testify, replace ExpectBytesEqual and ExpectDeepEqual with ExpectEqual in tests
2025-03-28 08:45:06 +08:00
yusing
cdb3ffe439
refactor: clean up code and enhance utilities with new functions
2025-03-28 08:14:06 +08:00
yusing
2b91d99ec6
refactor: remove unused old code
2025-03-28 08:14:06 +08:00
yusing
3021672de5
refactor: move atomic.Value to value.go, improved handling for zero values
2025-03-28 07:39:26 +08:00
yusing
c0c6e21a16
refactor: improved json loading flow and log messages
2025-03-28 07:39:26 +08:00
yusing
d315710310
refactor: improved reverse proxy performance, reduce memory allocation calls
2025-03-28 07:39:26 +08:00
yusing
361931ed96
refactor: rename module 'err' to 'gperr' in references
2025-03-28 07:39:26 +08:00
yusing
17ef5cb9a5
security: sanitize uri
2025-03-22 23:58:37 +08:00
Yuzerion
1a5f3735cf
Feat/fileserver ( #60 )
...
* cleanup code for URL type
* fix makefile for trace mode
* refactor, merge Entry, RawEntry and Route into one.
* Implement fileserver.
* refactor: rename HTTPRoute to ReverseProxyRoute to avoid confusion
* refactor: move metrics logger to middleware package
- fix prometheus metrics for load balanced routes
- route will now fail when health monitor fail to start
* fix extra output of ls-* commands by defer initializaing stuff, speed up start time
* add test for path traversal attack, small fix on FileServer.Start method
* rename rule.on.bypass to pass
* refactor and fixed map-to-map deserialization
* updated route loading logic
* schemas: add "add_prefix" option to modify_request middleware
* updated route JSONMarshalling
---------
Co-authored-by: yusing <yusing@6uo.me>
2025-02-06 18:23:10 +08:00
yusing
2cd1f22e68
add test for the previous commit
2025-02-06 02:33:30 +08:00
yusing
688f38943d
fix single line yaml list treated as comma seperated list
2025-02-06 01:58:45 +08:00
yusing
4ad6257dab
fix deserialization
2025-01-29 11:49:28 +08:00
yusing
bbc10cb105
fix serialization, added benchmark tests, updated next release docs
2025-01-26 15:08:10 +08:00
yusing
83ea19dd92
api: added validation endpoint
2025-01-26 14:47:33 +08:00
yusing
1586610a44
Cleaned up some validation code, stricter validation
2025-01-26 14:43:48 +08:00
yusing
79f40f3d22
implement icon cache expiry, cleanup code and upgrade deps
2025-01-23 04:16:06 +08:00
yusing
ed3b26653c
fix log wrapped incorrectly in WebUI, implement log SSR
2025-01-23 00:08:19 +08:00
yusing
8b1a3a31ff
simplify icon caching and homepage item override
2025-01-21 06:16:00 +08:00
yusing
d429374924
fix deserialization: reflect: indirection through nil pointer to embedded struct
2025-01-21 04:09:46 +08:00
yusing
dd0bbdc7b4
fix logs not printing correctly, removed unneccessary loggers
2025-01-20 17:42:54 +08:00