surf icon indicating copy to clipboard operation
surf copied to clipboard

Make async-h1 the default client, don't build with wasm by default.

Open Fishrock123 opened this issue 5 years ago • 2 comments

See https://github.com/http-rs/surf/issues/217

The second commit is similar to tide & async-std issues and relates to https://github.com/rust-lang/cargo/issues/1197

Fishrock123 avatar Sep 07 '20 21:09 Fishrock123

Discussed this on a call with @yoshuawuyts and @jbr.

It seems like there are still too many things missing from the async-h1 client at the time of writing to make this worthwhile for 2.0.

The list I gathered:

  • outgoing chunked encoding
  • http/2
  • compression
  • forwarding
  • connection pooling
    • See https://github.com/http-rs/surf/issues/224
  • client timeouts

Other things that may be less-than-complete:

  • redirects (by default?)
  • encodings (?)
  • TLS support (?)

Fishrock123 avatar Sep 10 '20 18:09 Fishrock123

See also https://github.com/orgs/http-rs/projects/2

Fishrock123 avatar Dec 04 '20 21:12 Fishrock123