Commit Graph
32 Commits
Author SHA1 Message Date
google-labs-jules[bot] 8baa68c04c fix: Correctly place disable_referer_header under ReverseProxyConfig
This commit corrects the placement of the `disable_referer_header`
configuration option. It is now correctly part of the `reverse_proxy`
settings, as intended, rather than the general `proxy` settings.

When `reverse_proxy.disable_referer_header` is set to `true`,
tuliprox will not send the Referer header in its outgoing HTTP
requests made as part of its reverse proxy functionality.

This is useful for scenarios where Xtream Codes providers or other
services are restrictive and might block requests that include
the Referer header, especially after redirects.

The following changes were made:
- Removed `disable_referer_header` from `ProxyConfig` in `src/model/config_proxy.rs`.
- Added `disable_referer_header: bool` to `ReverseProxyConfig` in `src/model/config.rs`.
- Updated client creation in `src/api/main_api.rs` (within `create_shared_data`)
  to honor this flag from `ReverseProxyConfig`.
- Removed referer disabling logic from the general `create_client` function
  in `src/utils/network/request.rs`.
- Updated `config/config.yml` to move the option to the `reverse_proxy` section.
- Updated `README.md` to reflect the correct placement and usage.
2025-05-21 19:08:38 +00:00
euzu efda038ee4 log sanitize ipv4 and ipv6 2025-05-19 15:47:00 +02:00
euzu c5939e26c7 intermediate checkin 2025-05-16 14:01:36 +02:00
euzu 3d70531a2d conf.d style mapping support 2025-05-14 18:23:22 +02:00
euzu 0e2b0468f1 realod config changes on demand 2025-05-13 21:50:08 +02:00
g0ldyy ffba9200f0 forgot some 2025-05-10 18:11:30 +02:00
g0ldyy acf07012bb oupsie 2025-05-10 18:07:41 +02:00
euzu a8d6946d80 Refactored stream handling 2025-05-09 22:25:44 +02:00
euzu 9f884703fa Refactored stream handling 2025-05-09 17:13:37 +02:00
euzu 537350e8b0 ipcheck integrated to webui
fixed playlist sort for webui
2025-05-04 16:07:26 +02:00
euzu 5aee075b06 IPCheck and config refactor 2025-05-04 10:59:08 +02:00
euzu dc8ef8f8c6 proxy settings 2025-04-30 13:32:55 +02:00
euzu 6586c5db2c little code fixes 2025-04-24 20:59:07 +02:00
euzu f0267e21c5 Redirect Proxy cycle provider for m3u playlist 2025-04-20 10:17:49 +02:00
euzu f8064965e5 auto_epg added for input epg,
grace_period_timeout_secs added for reverse_proxy.stream
2025-04-17 20:09:29 +02:00
euzu aceb9fdb00 some refactorings,
hls processing URI attribute
2025-04-17 15:11:28 +02:00
euzu b30edee25b some refactoring for constants 2025-04-17 12:11:51 +02:00
euzu 60c0766a87 get_account_info added to xtream api 2025-04-16 16:05:12 +02:00
euzu b9198c9963 hls reverse proxy handling refactored 2025-04-16 14:23:16 +02:00
euzu c5eeda2a01 fixed hls rewrite, used redirect url if exists for hls 2025-04-15 20:16:47 +02:00
euzu 67aa066b45 Input Fetch Method added 2025-04-14 18:19:01 +02:00
euzu eb0e47e8bb Multi epg added 2025-04-10 18:09:34 +02:00
euzu f0e1a09c85 fixed clippy warnings 2025-04-10 00:06:48 +02:00
euzu 5441203e91 Moved connect_timeout_secs is global timeout and defiend in config root and not reverse_proxy.stream. 2025-03-24 10:12:52 +01:00
euzu ec19df8695 status provider info i now sorted,
some little optimizations
2025-03-21 17:15:28 +01:00
euzu af7d413b90 Replaced Ordering with SeqCst because it did not synchronize over threads 2025-03-21 15:56:39 +01:00
euzu ab6cba70be Provider Management implemented 2025-03-20 11:57:32 +01:00
euzu 5ffaf48267 added sah url handling,
some refactorings,
added provider connection check,
2025-03-19 09:54:59 +01:00
euzu 8ee354449f fixed some hls streaming issues,
added 2 more custom video stream reponse resources
2025-03-16 17:08:00 +01:00
euzu fe50ecbb23 Replaced actix with axum 2025-03-11 16:07:06 +01:00
euzu 75c63ae237 replaced async_std 2025-02-06 10:49:34 +01:00
euzu bbf6d6e014 Code restructuring 2025-02-05 20:01:49 +01:00