Skip to content

v3.1.0

Compare
Choose a tag to compare
@bradfier bradfier released this 25 Apr 19:57
· 72 commits to master since this release
3f07c42

Changes

  • Add Server::poll_timeout() for polling more efficiently.
  • Add Server::stoppable() for running a single, cancellable server thread.
  • Add Server::join() for finalising all in-flight requests before shutting down.
  • Prevent infinite loop on Websocket EOF
  • Update tiny-http to 0.8.1 containing fixes for:
    • HTTPS deadlock where one request holds a locked resource while another is
      attempting HTTPS negotiation
    • Fix RUSTSEC-2020-0031
    • Don't set Transfer-Encoding: chunked on 1xx or 204 responses (which can lead
      to clients hanging).
  • Bump minimum support Rust version to 1.41.1