mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-29 18:22:38 +01:00
feat: hls content encoding support and shared session between different targets (#789)
* feat: key shared hls sessions by origin id * feat: support hls content encoding * fix: coderabbitai findings * Fix: Custom headers are lost on provider:// In the manual redirect path, the abstract provider:// URL is compared against the resolved HTTP URL. This causes the request to be marked as "scrubbed" before the first real redirect even occurs, stripping out headers like X-API-Key.
This commit is contained in:
@@ -15,9 +15,6 @@ pub const DEFAULT_HOME_ENV_VAR: &str = "TULIPROX_HOME";
|
||||
pub const DEFAULT_WEB_ROOT_ENV_VAR: &str = "TULIPROX_WEB_ROOT";
|
||||
pub const DNS_RESOLVED_FILE: &str = "provider_dns_resolved.json";
|
||||
|
||||
pub const ENCODING_GZIP: &str = "gzip";
|
||||
pub const ENCODING_DEFLATE: &str = "deflate";
|
||||
|
||||
pub const FILENAME_TRIM_PATTERNS: &[char] = &['.', '-', '_'];
|
||||
|
||||
const SUPPORTED_RESPONSE_HEADERS: &[&str] = &[
|
||||
@@ -27,7 +24,6 @@ const SUPPORTED_RESPONSE_HEADERS: &[&str] = &[
|
||||
"content-length",
|
||||
"content-range",
|
||||
"vary",
|
||||
"transfer-encoding",
|
||||
//"connection",
|
||||
"access-control-allow-origin",
|
||||
"access-control-allow-credentials",
|
||||
|
||||
Reference in New Issue
Block a user