Skip to content

Releases: samyak2403/Simple-Tube

SimpleTune-0.2.2.1

21 Nov 06:24

Choose a tag to compare

Full Changelog: 0.2.2...SimpleTune-0.2.2.1

Changelog

[0.2.2.1] - 2025-11-21

Fixed

  • Network Timeout Errors (ERR_TIMED_OUT) - Resolved indefinite request hangs on slow or unstable networks
    • Added HttpTimeout plugin with 30-second request timeout
    • Configured 15-second connection timeout for faster failure detection
    • Implemented 30-second read/write timeouts for socket operations
    • Applied timeout configuration to both proxy and non-proxy scenarios

Improved

  • Error Handling - Enhanced network error handling and retry mechanisms

    • Requests now fail gracefully instead of hanging indefinitely
    • Automatic retry on timeout errors
    • Clear error messages for better debugging
  • User Experience

    • App remains responsive on slow networks
    • Faster failure detection (15 seconds vs infinite wait)
    • Better battery efficiency by preventing hanging connections
    • Seamless recovery with automatic retries
  • Network Reliability

    • Consistent timeout behavior across all network types (WiFi, 4G, 5G, 3G)
    • Compatible with VPN and proxy configurations
    • Defense-in-depth approach with multiple timeout layers

Technical Changes

  • Modified innertube/src/main/java/com/zionhuang/innertube/InnerTube.kt
    • Added Ktor HttpTimeout plugin installation
    • Configured OkHttp engine timeouts (connect, read, write)
    • Applied consistent timeout values across all HTTP client configurations

Performance

  • Reduced battery drain from hanging network connections
  • Improved resource cleanup with proper timeout handling
  • Better app performance on unstable networks

Timeout Configuration

Timeout Type Duration Purpose
Connect 15 seconds Time to establish TCP connection
Read 30 seconds Time to read response from server
Write 30 seconds Time to write request to server
Request 30 seconds Total time for entire request

0.2.2

04 Aug 12:46

Choose a tag to compare

Full Changelog: 0.2.0.1...0.2.2

0.2.0.1

18 May 06:04

Choose a tag to compare

Full Changelog: 0.2.0...0.2.0.1

0.2.0

19 Mar 10:58

Choose a tag to compare

Full Changelog: v0.1.0...0.2.0

0.1.0

27 Jan 11:39

Choose a tag to compare

Merge remote-tracking branch 'origin/main'