Commit Graph

  • 6f17bbad7e chore: remove trailing blank lines and clean up whitespace xfy 2026-06-03 18:08:34 +08:00
  • 5ee83f6a69 refactor: extract common functions from server startup modes xfy 2026-06-03 18:03:23 +08:00
  • c1796dadc5 refactor: eliminate redundant switch blocks in router.go LocationEngine functions xfy 2026-06-03 17:54:51 +08:00
  • 6e481c36c5 refactor: simplify CheckIPAccess by reusing IPInAllowList xfy 2026-06-03 17:53:00 +08:00
  • 66f608f25b refactor: remove redundant generateETag wrappers, use utils.GenerateETag directly xfy 2026-06-03 17:51:50 +08:00
  • ae3c167cd6 refactor: remove extractHostFromURL, use netutil.ParseTargetURL xfy 2026-06-03 17:50:06 +08:00
  • 041bc97578 refactor: remove unused code identified by staticcheck xfy 2026-06-03 17:46:58 +08:00
  • 13547ec63e fix: use defaultMIME fallback in DetectContentType xfy 2026-06-03 17:44:16 +08:00
  • a3b4507be0 refactor: remove unused variable pool statistics dead code xfy 2026-06-03 17:42:48 +08:00
  • a3bc453fbf refactor: remove unused stream SSL dead code xfy 2026-06-03 17:41:14 +08:00
  • a919369ca4 refactor: remove dead code package internal/middleware/limitrate xfy 2026-06-03 17:39:03 +08:00
  • 5066a1a64c feat(utils): add GetInternalRedirectPath function xfy 2026-06-03 16:39:36 +08:00
  • 1a6b5f9166 Merge origin/master into master xfy 2026-06-03 16:36:23 +08:00
  • 856b46fd6d refactor: remove unused ParseTLSVersion and app setter tests xfy 2026-06-03 16:32:15 +08:00
  • d0867bfe3e refactor(lua): remove unused mock engine and filter writer subsystem xfy 2026-06-03 16:31:18 +08:00
  • 2734b04d8f refactor: remove 16.8k lines of dead code across all internal packages xfy 2026-06-03 16:15:43 +08:00
  • 5dec128510
    Merge pull request #3 from xfy911/improve-comments Sonetto 2026-06-03 15:41:36 +08:00
  • a6152d4dc1 docs: add documentation comments for method implementations and test utilities xfy911 2026-06-03 15:28:53 +08:00
  • a136b07bb9 docs: add documentation comments for exported constants and variables xfy911 2026-06-03 15:28:53 +08:00
  • fc1de2d445 docs: add documentation comments for more exported constants and variables xfy911 2026-06-03 15:28:53 +08:00
  • 396a466de1 docs: add documentation comments for exported constants and variables xfy911 2026-06-03 15:28:53 +08:00
  • 0b5b0eb747 docs(loadbalance): add package comments for loadbalance module xfy911 2026-06-03 15:28:53 +08:00
  • 57d4d3ba3c docs(app): add package comments for app module xfy911 2026-06-03 15:28:53 +08:00
  • 63ce8ecd2a docs(lua): add package comments for lua module xfy911 2026-06-03 15:28:53 +08:00
  • 4a53d3032a docs(utils): add package comments for utils module xfy911 2026-06-03 15:28:53 +08:00
  • c33adeb296 docs(middleware/limitrate): add package comments for rate limiter xfy911 2026-06-03 15:28:53 +08:00
  • 05f434d5e5 docs(server): add package comments for server module xfy911 2026-06-03 15:28:53 +08:00
  • dc54d3822f docs(proxy): add package comments for proxy module xfy911 2026-06-03 15:28:53 +08:00
  • 65aaba4e59 docs(config): add package comments for config module xfy911 2026-06-03 15:28:53 +08:00
  • 863456f7b4 chore: add docs/superpowers to gitignore xfy 2026-06-03 14:41:27 +08:00
  • 8ae4add922 fix: address code review feedback xfy 2026-06-03 14:29:30 +08:00
  • 4678cb5483 refactor: use testutil helpers in server tests xfy 2026-06-03 14:19:22 +08:00
  • 8681472c4b refactor: use testutil helpers in proxy tests xfy 2026-06-03 14:10:07 +08:00
  • 094976df2b feat: add testutil package for proxy config helpers xfy 2026-06-03 14:00:07 +08:00
  • 1ce42c039b refactor: extract proxyDebugLog helper for repeated debug logging xfy 2026-06-03 13:57:55 +08:00
  • 684122dbf7 refactor: extract registerRoute helper to reduce repetition xfy 2026-06-03 13:55:18 +08:00
  • 37e20ae9a0 refactor: remove unused extractCertificates function and tests xfy 2026-06-03 13:51:55 +08:00
  • bc0bc5fbbb refactor: remove unused security header preset functions and tests xfy 2026-06-03 13:49:57 +08:00
  • e3c6cb61f0 refactor: remove unused bodylimit.formatSize function and test xfy 2026-06-03 13:48:10 +08:00
  • 596237e484 refactor: remove unused connectionPool.get and connectionPool.count methods xfy 2026-06-03 13:46:25 +08:00
  • caae75ff96 refactor: remove unused validateStatic function and its test xfy 2026-06-03 13:44:22 +08:00
  • 634fc5b51b
    Merge pull request #2 from DefectingCat/fix/identified-issues Sonetto 2026-06-03 13:24:15 +08:00
  • 728a9f454b fix(server,app,config): address code review findings xfy 2026-06-03 13:16:05 +08:00
  • 9b8ce2a08a fix(config): real circular include detection with visited set xfy 2026-06-03 11:51:17 +08:00
  • 556d40ceb0 fix(matcher,server): use ConflictError in AddNamed and add tests xfy 2026-06-03 11:47:06 +08:00
  • f58f194752 fix(server): serialize listener creation in multi-server mode xfy 2026-06-03 11:44:14 +08:00
  • f3f78b24a8 feat(server,app): implement proper config hot reload via SIGHUP xfy 2026-06-03 11:42:45 +08:00
  • 2e9ddc7400 feat(config): implement include directive with glob support xfy 2026-06-03 10:20:33 +08:00
  • 53ac4c84cd docs(AGENTS.md): fix stale references xfy 2026-06-03 10:16:29 +08:00
  • d9a7ab9cca cleanup(config): remove dead ProxyCachePathConfig and CachePath field xfy 2026-06-03 10:14:07 +08:00
  • 38bb743781 fix(server): handle LocationEngine registration errors properly xfy 2026-06-03 10:12:09 +08:00
  • ac66ea5534 fix(server): use atomic.Bool for Server.running to eliminate data race xfy 2026-06-03 01:19:23 +08:00
  • 0359d4c477 fix(stream): use atomic operations for counters and fix UDP conns leak xfy 2026-06-03 01:16:37 +08:00
  • eb404f98a2 fix(ssl): implement OCSP refreshAll to actually refresh stale responses xfy 2026-06-03 01:14:09 +08:00
  • 3b84d62971 fix(ssl): extract OCSP HTTP request loop into singleOCSPAttempt xfy 2026-06-03 01:11:07 +08:00
  • f6c1ee8180 fix(proxy): log error when upstream TLS config creation fails xfy 2026-06-03 01:09:40 +08:00
  • 2c3cc1ba38 fix(proxy): prevent use-after-recycle in background cache refresh xfy 2026-06-03 01:08:50 +08:00
  • c2dd4fa9a3 fix(resolver): prevent double-close panic in DNSResolver.Stop() xfy 2026-06-03 01:07:54 +08:00
  • ba0b3c55bb fix(loadbalance): prevent double-close panic in SlowStartManager.Stop() xfy 2026-06-03 01:07:22 +08:00
  • 332b96031b docs: simplify README.md to focus on project introduction xfy 2026-05-09 18:22:30 +08:00
  • b2ae4472d7 refactor(gjson): remove nolint comment from cfgEncodeSortKeys xfy 2026-05-09 18:14:41 +08:00
  • b6018ff9c9 test: add t.Parallel() to enable parallel test execution xfy 2026-05-09 17:57:23 +08:00
  • c47ab1617f fix(gjson): add nolint comment for cfgEncodeSortKeys method xfy 2026-05-09 17:38:09 +08:00
  • c37364b309 style: format code and modernize loop syntax xfy 2026-05-09 17:34:59 +08:00
  • 8643a0aff9 refactor: improve error handling and fix linter warnings xfy 2026-05-09 17:32:06 +08:00
  • c157be1ce5 refactor(cache): remove unused disk/tiered cache and add helper functions xfy 2026-05-09 17:26:19 +08:00
  • 25d93c25fa refactor: remove unused code and fix formatting xfy 2026-05-09 16:58:45 +08:00
  • ce80352e79 feat(gjson): add encode_sort_keys option for stable JSON output xfy 2026-05-09 16:09:49 +08:00
  • 62be8bc557 feat(lua): enable package library and preload gjson module xfy 2026-05-09 15:51:26 +08:00
  • 376b9fd33c feat(gjson): add Lua JSON encoding/decoding library xfy 2026-05-09 15:44:31 +08:00
  • 81df41b817 docs: update code statistics and simplify README structure xfy 2026-05-09 15:36:39 +08:00
  • 9c091e528b docs(lua): add route script documentation and examples xfy 2026-05-09 13:57:33 +08:00
  • 986ebdf207 fix(lua): enable file watch by default for hot reload xfy 2026-05-09 13:45:55 +08:00
  • 8f3c304837 fix(lua): register Lua routes in multi-server mode xfy 2026-05-09 13:41:26 +08:00
  • a5b5a085cc feat(lua): add Lua route registration in server startup xfy 2026-05-09 11:44:39 +08:00
  • 669f9c975b feat(lua): add registerLuaRoutesWithLocationEngine for Lua route handling xfy 2026-05-09 11:42:06 +08:00
  • dff88449d5 feat(lua): skip routed scripts in middleware builder xfy 2026-05-09 11:38:40 +08:00
  • fb655829e1 feat(lua): add LuaRouteHandler for route-based script execution xfy 2026-05-09 11:37:42 +08:00
  • 2fb8880ab5 feat(config): add route validation for Lua scripts xfy 2026-05-09 11:37:31 +08:00
  • ceb71cd9cc feat(config): add Route and RouteType fields to LuaScriptConfig xfy 2026-05-09 11:36:13 +08:00
  • f3f92c7922 feat(lua): add LState pool configuration and fix coroutine error handling xfy 2026-05-09 11:13:23 +08:00
  • 6c7cf73c87 refactor(lua): replace single LState with LState pool architecture xfy 2026-05-09 10:38:10 +08:00
  • 2a532f8c28 docs(lua): update config format to match implementation xfy 2026-05-09 09:49:33 +08:00
  • 8d3c9e0f6f chore: ignore .crush file xfy 2026-05-09 09:40:34 +08:00
  • 5090bd4cbe fix(ssl): use reserved IP for connection failure test xfy 2026-05-09 08:20:10 +08:00
  • edc135ae5f refactor(utils): enhance ParseCIDR to support single IP xfy 2026-05-08 18:20:09 +08:00
  • 70d6488fc6 refactor(handler): extract path processing methods xfy 2026-05-08 18:14:51 +08:00
  • 5d9ef8e611 refactor(server): extract static handler configuration xfy 2026-05-08 18:10:52 +08:00
  • 454a1be9e1 refactor(app): add test logger helper function xfy 2026-05-08 18:06:55 +08:00
  • f72c9f78db refactor(config): genericize non-negative validators xfy 2026-05-08 18:06:44 +08:00
  • a28c7ebcf1 refactor(utils): add unified b2s/s2b conversion functions xfy 2026-05-08 18:06:25 +08:00
  • 3b2360162c refactor(utils): add unified ETag generation function xfy 2026-05-08 18:06:13 +08:00
  • 8c96c4384f fix(status): use version package instead of hardcoded version xfy 2026-05-07 17:46:32 +08:00
  • 9c46c8bab8 fix(server): register status and pprof handlers in multi-server mode xfy 2026-05-07 17:44:57 +08:00
  • 03c27c8d95 fix(static): add missing AutoIndex and Internal settings in registerStaticHandlers xfy 2026-05-07 16:32:41 +08:00
  • 4b48fd71e6 docs: add llms.txt for AI agent usage guide xfy 2026-05-07 14:54:21 +08:00
  • 6e6659e6df chore(deps): bump fasthttp to 1.71.0 and compress to 1.18.6 xfy 2026-05-07 14:39:03 +08:00
  • 2dcc139dd5 docs: update README with comprehensive project structure and features xfy 2026-05-07 14:03:42 +08:00
  • 144e101c09 feat(proxy): add configurable X-Forwarded-Host and X-Forwarded-Proto headers xfy 2026-05-07 13:28:28 +08:00
  • c02008cc6a chore(build): remove tmpdir workaround from Makefile xfy 2026-05-06 17:43:13 +08:00