github actix/actix-web http-v3.0.0-rc.1
actix-http: v3.0.0-rc.1

latest releases: web-v4.5.1, actors-v4.3.0, test-v0.1.3...
pre-release2 years ago

Added

  • Implement Default for KeepAlive. #2611
  • Implement From<Duration> for KeepAlive. #2611
  • Implement From<Option<Duration>> for KeepAlive. #2611
  • Implement Default for HttpServiceBuilder. #2611
  • Crate ws feature flag, disabled by default. #2618
  • Crate http2 feature flag, disabled by default. #2618

Changed

  • Rename ServiceConfig::{client_timer_expire => client_request_deadline}. #2611
  • Rename ServiceConfig::{client_disconnect_timer => client_disconnect_deadline}. #2611
  • Deadline methods in ServiceConfig now return std::time::Instants instead of Tokio's wrapper type. #2611
  • Rename h1::Codec::{keepalive => keep_alive}. #2611
  • Rename h1::Codec::{keepalive_enabled => keep_alive_enabled}. #2611
  • Rename h1::ClientCodec::{keepalive => keep_alive}. #2611
  • Rename h1::ClientPayloadCodec::{keepalive => keep_alive}. #2611
  • ServiceConfig::keep_alive now returns a KeepAlive. #2611

Fixed

  • HTTP/1.1 dispatcher correctly uses client request timeout. #2611

Removed

  • ServiceConfig::{client_timer, keep_alive_timer}. #2611
  • impl From<usize> for KeepAlive; use Durations instead. #2611
  • impl From<Option<usize>> for KeepAlive; use Durations instead. #2611
  • HttpServiceBuilder::new; use default instead. #2611

Don't miss a new actix-web release

NewReleases is sending notifications on new releases.