Skip to content

Commit

Permalink
bak
Browse files Browse the repository at this point in the history
  • Loading branch information
timzaak committed Jun 30, 2024
1 parent e0c43e9 commit 9ef3fcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/develop/develop-tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ https.acme {
```

**Remember to remove `tests/data/web/acme` directory when Pebble reinit.**

## reqwest

when reqwest use rustls, redirect would have problems: it would not redirect event with Policy::default().
4 changes: 2 additions & 2 deletions tests/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub fn get_http_client() -> &'static Client {
get_test_dir().join("pebble/certs/pebble.minica.pem"),
))
.tls_built_in_root_certs(false)
.use_rustls_tls()
//.use_rustls_tls()
//.min_tls_version(Version::TLS_1_3)
//.tls_built_in_root_certs(false)
//.add_root_certificate(get_root_cert(get_test_dir().join("cert/cacerts.pem")))
Expand All @@ -211,7 +211,7 @@ pub fn get_http_no_redirect_client() -> &'static Client {
get_test_dir().join("pebble/certs/pebble.minica.pem"),
))
.tls_built_in_root_certs(false)
.use_rustls_tls()
//.use_rustls_tls()
//.min_tls_version(Version::TLS_1_3)
//.add_root_certificate(get_root_cert(get_test_dir().join("cert/cacerts.pem")))
//.tls_built_in_root_certs(false)
Expand Down

0 comments on commit 9ef3fcd

Please sign in to comment.