ZaStoGram/Tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 6352d5e89d Delay prefetch during MTProxy startup and improve DNS outage handling
Implement proxy warmup-aware prefetch scheduling to prevent flooding the network during MTProxy initialization. Add DNS resolver provider failure tracking and extend stale DNS cache to 24 hours for better connectivity resilience.

Key changes:
- Classify and delay story/sticker/media prefetch operations in FileLoader, MediaDataController, and StoriesController
- Track DNS resolver failures per provider to detect outages
- Extend HOST_RESOLVER_STALE_TTL_MS from 1 hour to 24 hours
- Add validation for empty hostnames to prevent malformed DNS queries
- Record DNS cache hits (fresh and stale) for proxy warmup monitoring
- Reorder DNS outage checks before warmup failure callbacks

Also updates the DNS verification tests and proxy rotation guard scripts to validate the new prefetch and DNS failure tracking behavior.
2026-06-27 20:41:49 +03:00
..
analyze_mtproxy_markers.py Add network debug logging with throttling and metrics 2026-06-27 20:03:11 +03:00
BinaryObjConverter.html update to 11.13.4 (6086) 2025-08-11 13:24:24 +04:00
check_app_log_cleanup.py Improve MTProxy admission, timers and log cleanup 2026-06-26 22:28:36 +03:00
check_background_network_policy.py Ensure Add Proxy row renders above proxy list 2026-06-26 23:01:44 +03:00
check_buffer_pool_pressure.py Add ProxyWarmupGate and DNS resolver improvements 2026-06-27 19:33:17 +03:00
check_build_apk_workflow.py Fix edit history version constructor access 2026-06-27 01:21:19 +03:00
check_connection_socket_state_machine_rewrite.py Add MtProxy options JNI and refactor proxy policies 2026-06-24 14:47:17 +03:00
check_contacts_permission_prompt.py Remove auto contacts permission prompt, add checks 2026-06-26 23:13:54 +03:00
check_debug_parser_unmapped_logs.py Add ProxyWarmupGate and DNS resolver improvements 2026-06-27 19:33:17 +03:00
check_dns_resolver_fallback.py Delay prefetch during MTProxy startup and improve DNS outage handling 2026-06-27 20:33:01 +03:00
check_hide_main_screen_stories.py Add ZaSto privacy toggles and MTProxy improvements 2026-06-27 19:07:34 +03:00
check_log_event_atomicity.py Add network debug logging with throttling and metrics 2026-06-27 20:03:11 +03:00
check_login_proxy_button.py mtproxy: classify pre-TCP timeouts and defer writes 2026-06-26 19:16:10 +03:00
check_mtproto_partial_packet_log.py Add ProxyWarmupGate and DNS resolver improvements 2026-06-27 19:33:17 +03:00
check_mtproxy_all.py Delay prefetch during MTProxy startup and improve DNS outage handling 2026-06-27 20:41:49 +03:00
check_mtproxy_analyzer.py Ensure Add Proxy row renders above proxy list 2026-06-26 23:01:44 +03:00
check_mtproxy_clienthello_fragmentation.py Add MtProxy options JNI and refactor proxy policies 2026-06-24 14:47:17 +03:00
check_mtproxy_connection_pattern_modes.py mtproxy: classify pre-TCP timeouts and defer writes 2026-06-26 19:16:10 +03:00
check_mtproxy_data_layers.py Add MtProxy options JNI and refactor proxy policies 2026-06-24 14:47:17 +03:00
check_mtproxy_endpoint_resilience_layers.py Add ZaSto privacy toggles and MTProxy improvements 2026-06-27 19:07:34 +03:00
check_mtproxy_faketls_path.py Add ZaSto privacy toggles and MTProxy improvements 2026-06-27 19:07:34 +03:00
check_mtproxy_global_handshake_budget.py В [ConnectionSocket.cpp](/mnt/j/privacy/ZaStoGram/TMessagesProj/jni/tgnet/ConnectionSocket.cpp) подавил ложные terminal diagnostics для idle-сокетов после handshake и для уже usable-сокетов после первых данных. 2026-06-22 00:50:11 +03:00
check_mtproxy_media_startup_fanout.py Delay prefetch during MTProxy startup and improve DNS outage handling 2026-06-27 20:33:01 +03:00
check_mtproxy_options_contract.py Add MtProxy options JNI and refactor proxy policies 2026-06-24 14:47:17 +03:00
check_mtproxy_phase_contract.py Remove auto contacts permission prompt, add checks 2026-06-26 23:13:54 +03:00
check_mtproxy_plain_dd_lifecycle.py очень ОЧЕНЬ большие изменения 2026-06-21 21:31:22 +03:00
check_mtproxy_policy_extraction.py Add MtProxy options JNI and refactor proxy policies 2026-06-24 14:47:17 +03:00
check_mtproxy_resilience_contract.py mtproxy: classify pre-TCP timeouts and defer writes 2026-06-26 19:16:10 +03:00
check_mtproxy_rotation_and_soft_mux.py Add MtProxy options JNI and refactor proxy policies 2026-06-24 14:47:17 +03:00
check_mtproxy_runtime_log_contract.py Add MTProxy diagnostics and logging checks 2026-06-26 00:03:55 +03:00
check_mtproxy_startup_cover.py Add MtProxy options JNI and refactor proxy policies 2026-06-24 14:47:17 +03:00
check_mtproxy_tlparse_upload_context.py Delay prefetch during MTProxy startup and improve DNS outage handling 2026-06-27 20:41:49 +03:00
check_mtproxy_tls_profile_ui.py Add ZaSto privacy toggles and MTProxy improvements 2026-06-27 19:07:34 +03:00
check_mtproxy_transport_state.py Ensure Add Proxy row renders above proxy list 2026-06-26 23:01:44 +03:00
check_proxy_check_diagnostics.py Refactor proxy runtime, phase policy & keys 2026-06-23 21:14:19 +03:00
check_proxy_check_lifecycle.py MTProxy: добавить строковые фазы ошибок прокси 2026-06-20 15:09:30 +03:00
check_proxy_check_scheduler.py Add network debug logging with throttling and metrics 2026-06-27 20:03:11 +03:00
check_proxy_connection_live_stages.py Add ZaSto privacy toggles and MTProxy improvements 2026-06-27 19:07:34 +03:00
check_proxy_control_plane_policy.py Add ZaSto privacy toggles and MTProxy improvements 2026-06-27 19:07:34 +03:00
check_proxy_link_input.py Improve MTProxy diagnostics, scheduling and quick-link UI 2026-06-26 20:50:17 +03:00
check_proxy_rotation_behavior.py Delay prefetch during MTProxy startup and improve DNS outage handling 2026-06-27 20:33:01 +03:00
check_proxy_rotation_engine.py Proxy health/status refactor + rotation fixes 2026-06-25 16:17:10 +03:00
check_proxy_ui_messages.py Ensure Add Proxy row renders above proxy list 2026-06-26 22:35:39 +03:00
check_proxy_usable_success_hold.py Add network debug logging with throttling and metrics 2026-06-27 20:03:11 +03:00
check_settings_durov_links.py Add edit history, refactor Zapret sponsor, improve privacy controls 2026-06-27 00:55:14 +03:00
check_single_active_presence.py Add ZaSto privacy toggles and MTProxy improvements 2026-06-27 19:07:34 +03:00
check_socks_proxy_architecture.py очень ОЧЕНЬ большие изменения 2026-06-21 21:31:22 +03:00
check_splash_icon.py splash экран починен 2026-06-18 23:25:40 +03:00
check_tgnet_network_type_access.py Proxy health/status refactor + rotation fixes 2026-06-25 16:17:10 +03:00
check_wss_transport_mode.py В [ConnectionSocket.cpp](/mnt/j/privacy/ZaStoGram/TMessagesProj/jni/tgnet/ConnectionSocket.cpp) подавил ложные terminal diagnostics для idle-сокетов после handshake и для уже usable-сокетов после первых данных. 2026-06-22 00:50:11 +03:00
check_zapret_proxy_sponsor.py Add ZaSto privacy toggles and MTProxy improvements 2026-06-27 19:07:34 +03:00
check_zasto_edit_history_contract.py Fix edit history version constructor access 2026-06-27 01:21:19 +03:00
check_zasto_no_ads_contract.py Add ZaSto privacy toggles and MTProxy improvements 2026-06-27 19:07:34 +03:00
collect_mtproxy_logs.ps1 Add transport invariant checks and state helpers 2026-06-24 13:19:09 +03:00
EmojiTextureMaker.html update to 11.13.4 (6086) 2025-08-11 13:24:24 +04:00
mtproxy_phase_contract.py Ensure Add Proxy row renders above proxy list 2026-06-26 23:01:44 +03:00
verify_mtproxy_runtime_logs.py Delay prefetch during MTProxy startup and improve DNS outage handling 2026-06-27 20:41:49 +03:00