github actix/actix-web v0.7.4
Actix web 0.7.4

latest releases: awc-v3.5.1, web-v4.9.0, http-v3.9.0...
6 years ago

Changes

Added

  • Added HttpServer::maxconn() and HttpServer::maxconnrate(),
    accept backpressure #250

  • Allow to customize connection handshake process via HttpServer::listen_with()
    and HttpServer::bind_with() methods

  • Support making client connections via tokio-uds's UnixStream when "uds" feature is enabled #472

Changed

  • It is allowed to use function with up to 10 parameters for handler with extractor parameters.
    Route::with_config()/Route::with_async_config() always passes configuration objects as tuple
    even for handler with one parameter.

  • native-tls - 0.2

  • Content-Disposition is re-worked. Its parser is now more robust and handles quoted content better. See #461

Fixed

  • Use zlib instead of raw deflate for decoding and encoding payloads with
    Content-Encoding: deflate.

  • Fixed headers formating for CORS Middleware Access-Control-Expose-Headers #436

  • Fix adding multiple response headers #446

  • Client includes port in HOST header when it is not default(e.g. not 80 and 443). #448

  • Panic during access without routing being set #452

  • Fixed http/2 error handling

Deprecated

  • HttpServer::no_http2() is deprecated, use OpensslAcceptor::with_flags() or
    RustlsAcceptor::with_flags() instead

  • HttpServer::listen_tls(), HttpServer::listen_ssl(), HttpServer::listen_rustls() have been
    deprecated in favor of HttpServer::listen_with() with specific acceptor.

  • HttpServer::bind_tls(), HttpServer::bind_ssl(), HttpServer::bind_rustls() have been
    deprecated in favor of HttpServer::bind_with() with specific acceptor.

Don't miss a new actix-web release

NewReleases is sending notifications on new releases.