Skip to content

Conversation

@taiki-e
Copy link
Contributor

@taiki-e taiki-e commented Feb 14, 2021

Context: #67 (comment)

  • When both "native-tls" and "rustls" features are disabled, disable https.
  • When both "native-tls" and "rustls" features are enabled, prefer "rustls".
    This is the same behavior as http-client 6.2.0.
    Ideally, it would be nice if this behavior could be controlled by
    environment variables or some other way.

This also adds a CI task to check all feature combinations work properly. (see http-rs/surf#282 for more)

@taiki-e
Copy link
Contributor Author

taiki-e commented Feb 14, 2021

  • When both "native-tls" and "rustls" features are disabled, disable https.

Note that this fixes the issue in http-client 6.3.0, but is not the same behavior as http-client 6.2.0.
If you want the same behavior as http-client 6.2.0, I can fix it, but that will be actually a patch similar to reverting #67.

* When both "native-tls" and "rustls" features are disabled, disable https.
* When both "native-tls" and "rustls" features are enabled, prefer "rustls".
  This is the same behavior as http-client 6.2.0.
  Ideally, it would be nice if this behavior could be controlled by
  environment variables or some other way.

This also adds a CI task to check all feature combinations work properly.
@Fishrock123
Copy link
Member

Thanks! Sorry I didn't catch this on the last release.

@Fishrock123
Copy link
Member

Released in 6.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants