mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-05-06 04:19:34 +00:00
Mix SessionContext (ClientIP, UserAgent, APIKeyID) into GenerateSessionHash 3rd-level fallback to differentiate requests from different users sending identical content. Also switch hashContent from SHA256-truncated to XXHash64 for better performance, and optimize Trie Lua script to match from longest prefix first.
9.7 KiB
9.7 KiB