Skip to content

v3.0.0-alpha.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@connorslade connorslade released this 05 Feb 03:10
c2c47a5

Change log

  • Use loopback, private, and unique local addresses for RealIp
  • Add is_informational, is_success, is_redirect, is_client_error, and is_server_error methods on status codes.
  • Use a Cow in HeaderName::Custom
  • Don't store whole stream to get its length in Head ext
  • Added sync_route extension
  • Make threadpool more robust
  • Add a Stream trait to allow using different socket impls
  • Allow using custom event loop
    • The custom event loop with the Stream trait should allow a separate crate to add tls support to an afire server
  • Cleanup Query struct
    • Now stores a set of QueryParameter structs instead of [String; 2]
    • Implement Debug for Query
    • Rename Query::from_body to Query::from_str
  • Made internal::handle::handle function public for use in custom event loops.
  • Made error::AnyResult public
  • Disable keep-alive if only running with one thread

Full Changelog: v2.1.0...v3.0.0-alpha.3