Commits on Source 4

  • krant's avatar
    Fix fatal IO safety abort by removing manual socket close · 4b4b932e
    krant authored
    The `socket_close_wrapper` was manually closing the file descriptor behind Rust's back.
    In Rust 1.80+, this triggers the following crash when the socket object naturally drops
    and tries to close it a second time:
    
    > **`fatal runtime error: IO Safety violation: owned file descriptor already closed, aborting`**
    
    This patch removes the manual cleanup wrapper and refactors the code to call `recv_and_process` directly.
    This allows Rust's standard `Drop` semantics to safely close the socket exactly once when it goes out of scope.
    4b4b932e
  • Simon THOBY's avatar
    fix a couple of warnings · 1dd2c74a
    Simon THOBY authored
    1dd2c74a
  • Simon THOBY's avatar
    chore: fix many clippy lints · e4a67139
    Simon THOBY authored
    e4a67139
  • Simon THOBY's avatar
    chore: release v0.8.8 · 81e36090
    Simon THOBY authored
    81e36090
Loading
Loading