Implemented client-side retry logic for connection/handshake, added...
47 files · 3,715+ · 2,092-

Client Retry Logic

5 files changed
  • base.py Updated client/base.py
  • config.py Updated config.py
  • exception.py Updated exception.py
  • handshake.py Updated handshake.py
  • server.py Updated server.py
  • Enhanced client/base.py (379 lines) with configurable retry logic for connection and handshake failures harden internal
    1 file
    • base.py
  • Updated exception.py with retry-specific exceptions harden internal
    1 file
    • exception.py

Reorganization and Expansion

5 files changed
  • base.py Updated client/base.py
  • config.py Updated config.py
  • exception.py Updated exception.py
  • handshake.py Updated handshake.py
  • server.py Updated server.py
  • Moved benchmarks from root to tests/benchmarks/ directory decouple internal
    5 files
    • benchmark_concurrency.py
    • benchmark_connection_speed.py
    • benchmark_throughput.py
    • dummy_cs_handshaker.sh
    • dummy_echo_handshaker.sh
  • Added benchmark_throughput_tcp.py (269 lines) and benchmark_throughput_unix.py (282 lines) decouple internal
    5 files
    • benchmark_throughput_unix.py
    • benchmark_concurrency.py
    • benchmark_connection_speed.py
    • benchmark_throughput.py
    • dummy_cs_handshaker.sh
  • Updated existing benchmarks with improved measurement decouple internal
    5 files
    • benchmark_throughput_unix.py
    • benchmark_concurrency.py
    • benchmark_connection_speed.py
    • benchmark_throughput.py
    • dummy_cs_handshaker.sh

Simplification

5 files changed
  • base.py Updated client/base.py
  • config.py Updated config.py
  • exception.py Updated exception.py
  • handshake.py Updated handshake.py
  • server.py Updated server.py
  • Simplified config.py (334 lines of reduction) removing file-based config loading baseline internal
    5 files
    • 08_production_config.py
    • config.py
    • test_config.py
    • test_load_config.py
    • test_malformed_config.py
  • Removed temporary config files: test_config.env, test_config.json, test_config.yaml, malformed_config.* baseline internal
    3 files
    • base.py
    • config.py
    • exception.py
  • Simplified examples/08_production_config.py decouple internal
    5 files
    • 08_production_config.py
    • config.py
    • test_config.py
    • test_load_config.py
    • test_malformed_config.py

Server and Handshake

5 files changed
  • base.py Updated client/base.py
  • config.py Updated config.py
  • exception.py Updated exception.py
  • handshake.py Updated handshake.py
  • server.py Updated server.py
  • Enhanced server.py (145 lines) with improved shutdown handling decouple internal
    1 file
    • server.py
  • Updated handshake.py (143 lines) with protocol refinements decouple internal
    2 files
    • handshake.py
    • test_client_handshake.py
  • Updated readiness documentation decouple internal
    3 files
    • base.py
    • config.py
    • exception.py
2 files changed
  • ci.yml Updated CI workflow
  • docs.yml Updated CI workflow
  • Updated CI and docs workflows with refinements specify internal
    2 files
    • ci.yml
    • docs.yml