Files
rustdesk/src
rustdesk 5e7484c51b review: extract fallback helper, fix Content-Type override, add overall timeout
- Extract duplicated TCP proxy fallback logic into generic
  `with_tcp_proxy_fallback` helper used by both `post_request` and
  `http_request_sync`, eliminating code drift risk
- Allow caller-supplied Content-Type to override the default in
  `parse_simple_header` instead of silently dropping it
- Take body by reference in `post_request_http` to avoid eager clone
  when no fallback is needed
- Wrap entire `tcp_proxy_request` flow (connect + handshake + send +
  receive) in an overall timeout to prevent indefinite stalls

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 20:55:15 +08:00
..
2025-06-13 00:30:21 +08:00
2026-01-09 10:03:14 +08:00
2025-11-10 15:43:46 +08:00
2024-04-25 11:46:21 +08:00
2025-01-01 23:11:38 +08:00
2026-03-04 21:43:19 +08:00