Skip to content

v2.3.1: Fix HTTP proxy reliability issues#61

Merged
anonvector merged 1 commit intomainfrom
dev
Mar 10, 2026
Merged

v2.3.1: Fix HTTP proxy reliability issues#61
anonvector merged 1 commit intomainfrom
dev

Conversation

@anonvector
Copy link
Owner

  • Fix copyStream flush strategy: flush after every write instead of relying on unreliable InputStream.available() which caused data to stay buffered indefinitely, increasing latency and causing stalls
  • Fix CONNECT half-close: use shutdownOutput() instead of close() to avoid killing the socket while server is still sending response data
  • Fix idle timeout: use 5-minute relay timeout instead of infinite (0), preventing hung threads on stalled connections
  • Bump versionCode to 40

- Fix copyStream flush strategy: flush after every write instead of
  relying on unreliable InputStream.available() which caused data to
  stay buffered indefinitely, increasing latency and causing stalls
- Fix CONNECT half-close: use shutdownOutput() instead of close() to
  avoid killing the socket while server is still sending response data
- Fix idle timeout: use 5-minute relay timeout instead of infinite (0),
  preventing hung threads on stalled connections
- Bump versionCode to 40

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@anonvector anonvector merged commit 1e0e935 into main Mar 10, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant