cargo hyper 0.11.7

latest releases: 0.14.17, 0.14.16, 0.14.15...
6 years ago

This release sees some progress towards hyper without tokio-proto. hyper now contains an internal dispatcher that should eventually replace the one from tokio-proto. It is currently not on by default, but can be enabled with Client::configure().no_proto() and Server::no_proto(). The new dispatcher already fixes some bugs list below, so please try it out. It will likely be enabled by default in the next release, and the tokio-proto exposed pieces deprecated at that time.

Bug Fixes

  • client:
    • drop in-use connections when they finish if Client is dropped (b1765dd1)
    • don't read extra bytes on idle connections (7c4b814e)
  • server: GET requests with no body have None instead of Empty (8bf79648, closes #1373)

Features

  • client:
    • skip dns resolution when host is a valid ip addr (b1785c66)
    • allow custom executors for HttpConnector (ed497bf5)
    • add names to DNS threads (e0de55da)
  • header: implement ByteRangeSpec::to_satisfiable_range (bb54e36c)
  • lib: add support to disable tokio-proto internals (f7532b71)
  • server:
    • add const_service and service_fn helpers (fe38aa4b)
    • add server::Serve that can use a shared Handle (39cf6ef7)
    • allow creating Server with shared Handle (0844dede)

Thanks!

Don't miss a new hyper release

NewReleases is sending notifications on new releases.