yusing
|
b253dce7e1
|
cleanup some loadbalancer code
|
2025-01-19 04:32:50 +08:00 |
|
Yuzerion
|
589b3a7a13
|
Feat/auto schemas (#48)
* use auto generated schemas
* go version bump and dependencies upgrade
* clarify some error messages
---------
Co-authored-by: yusing <yusing@6uo.me>
|
2025-01-19 00:37:17 +08:00 |
|
yusing
|
c7c6a097f0
|
server side favicon retrieving and caching
|
2025-01-12 10:30:37 +08:00 |
|
yusing
|
5769abb626
|
fix: File.closeOnZero remove unnecessary for loop
|
2025-01-09 18:42:51 +08:00 |
|
yusing
|
8109c9ac4f
|
small refactor
|
2025-01-09 14:09:48 +08:00 |
|
yusing
|
adb41a80c5
|
support middleware cross referencing
|
2025-01-09 05:15:18 +08:00 |
|
yusing
|
f906e04581
|
fix access logger write on closed file after config reload
|
2025-01-09 04:26:31 +08:00 |
|
yusing
|
b3c47e759f
|
fix incorrect reload behaviors, further organize code
|
2025-01-09 04:26:00 +08:00 |
|
yusing
|
a98b2bb71a
|
updated implementation of rules
|
2025-01-08 13:50:34 +08:00 |
|
yusing
|
bc1702e6cf
|
refactoring: moved reverse_proxy to separate package to avoid import cycle
|
2025-01-08 13:50:34 +08:00 |
|
yusing
|
35c0463829
|
naive implementation of caddy like route rules, dependencies upgrade
|
2025-01-08 07:18:09 +08:00 |
|
yusing
|
4775f4ea31
|
request/response middleware no longer canonicalize header key
|
2025-01-05 11:25:56 +08:00 |
|
yusing
|
d44ce0ee6f
|
dockerfile for local build, makefile update
|
2025-01-04 10:44:51 +08:00 |
|
yusing
|
112859caa5
|
improved access log flushing
|
2025-01-04 05:08:23 +08:00 |
|
yusing
|
3ecc0f95bf
|
fixed some tests
|
2025-01-03 16:31:49 +08:00 |
|
yusing
|
6e30d39b78
|
access logger support sharing the same file, tests added for concurrent logging
|
2025-01-03 14:10:09 +08:00 |
|
yusing
|
a587ada170
|
fix access logger high cpu usage, simplify some code
|
2025-01-03 03:30:15 +08:00 |
|
yusing
|
320e29ba84
|
fix loadbalancer panic on weight rebalance
|
2025-01-03 03:30:15 +08:00 |
|
yusing
|
cd74b76483
|
fix reload stuck
|
2025-01-03 03:30:07 +08:00 |
|
yusing
|
89f08f0da7
|
fix middleware loaded message
|
2025-01-01 06:22:20 +08:00 |
|
yusing
|
4dda54c9e6
|
access logger improvements
|
2025-01-01 06:09:35 +08:00 |
|
yusing
|
1ab34ed46f
|
simplify task package implementation
|
2025-01-01 06:07:32 +08:00 |
|
yusing
|
e7be27413c
|
small string split join optimization
|
2024-12-19 00:54:31 +08:00 |
|
yusing
|
36069cbe6d
|
add host filter
|
2024-12-18 11:44:38 +08:00 |
|
yusing
|
57a7c04a4c
|
fix accesslog and serialization
|
2024-12-18 09:57:29 +08:00 |
|
yusing
|
87279688e6
|
fix middleware tracer and cloudflareRealIP
|
2024-12-18 09:03:12 +08:00 |
|
yusing
|
783b352e3b
|
fixed json access logger
|
2024-12-18 08:01:58 +08:00 |
|
yusing
|
f683ab64ab
|
fix realIP middleware not getting IP in some cases
|
2024-12-18 07:45:08 +08:00 |
|
yusing
|
942651dc16
|
add time field to json access log
|
2024-12-18 07:39:04 +08:00 |
|
yusing
|
2e86f8e6d8
|
add recursive option to cloudflareRealIP
|
2024-12-18 07:34:42 +08:00 |
|
yusing
|
f2a9ddd1a6
|
improved deserialization method
|
2024-12-18 07:18:18 +08:00 |
|
yusing
|
6aefe4d5d9
|
replace all schema check with go-playground/validator/v10
|
2024-12-18 04:48:29 +08:00 |
|
yusing
|
00f60a6e78
|
feature: accesslogger
|
2024-12-18 03:09:46 +08:00 |
|
yusing
|
c5d96f96e1
|
replace unnecessary Task interface with struct
|
2024-12-17 10:33:21 +08:00 |
|
yusing
|
4d94d12e9c
|
fixed / suppressed (irrelevant) golangci-lint errors
|
2024-12-17 10:33:21 +08:00 |
|
yusing
|
d82594bf09
|
eliminate SonarCloud hardcoded IP complains
|
2024-12-17 10:33:21 +08:00 |
|
yusing
|
2f275ca81e
|
add $upstream_name
|
2024-12-17 10:33:21 +08:00 |
|
yusing
|
59f4eaf3ea
|
cleanup and simplify middleware implementations, refactor some other code
|
2024-12-17 10:33:21 +08:00 |
|
yusing
|
e53d6d216d
|
fix real ip should not modify XFF
|
2024-12-17 10:33:21 +08:00 |
|
yusing
|
f948d05b90
|
improved handling of visitor IPs for prometheus metrics
|
2024-12-17 10:33:21 +08:00 |
|
yusing
|
48430fd9c3
|
schema update and remove 'Origin' header from request
|
2024-12-13 15:48:15 +08:00 |
|
yusing
|
843d7b2231
|
refactor and dependencies upgrade
|
2024-12-13 15:22:31 +08:00 |
|
yusing
|
2cbee10527
|
add $remote_host and $remote_port variables
|
2024-12-05 10:37:17 +08:00 |
|
yusing
|
aff8a3b401
|
fix modifyResponse middleware incorrect variable substitution
|
2024-12-05 10:31:48 +08:00 |
|
yusing
|
a9f6c4eb20
|
"visitor" prometheus metric
|
2024-12-05 08:54:48 +08:00 |
|
yusing
|
28d4373f67
|
fix potential issues with some websocket upstream servers
|
2024-12-04 06:09:52 +08:00 |
|
yusing
|
452bb0b0d7
|
http parameter tunings, dependencies upgrade
|
2024-12-04 06:02:54 +08:00 |
|
yusing
|
eabdd3de00
|
improved middleware variable subsititution
|
2024-12-04 01:58:17 +08:00 |
|
yusing
|
5d5c623f09
|
small refactor and fixes
|
2024-12-03 11:45:10 +08:00 |
|
yusing
|
cebc0c5405
|
support $resp_header(name) substitution
|
2024-12-03 11:09:30 +08:00 |
|