# std.http.Client: default to lazy root cert scanning · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d56a65a8c4609a740eee43fd7073c2485c87c2c6)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d56a65a8c4609a740eee43fd7073c2485c87c2c6

Requested commit: d56a65a8c4609a740eee43fd7073c2485c87c2c6

Commit: d56a65a8c4609a740eee43fd7073c2485c87c2c6

Tree: 9936fd3bcf55f9426d8a43425c6e092a95658022

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.http.Client: default to lazy root cert scanning

After this change, the system will be inspected for root certificates
only upon the first https request that actually occurs. This makes the
compiler no longer do SSL certificate scanning when running `zig build`
if no network requests are made.

```

## Parents

- [e646becd04c37fbaaa654f6419dd9f5e85d9f210](https://git.cafe/gitcafe/zig/commit/e646becd04c37fbaaa654f6419dd9f5e85d9f210?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d56a65a8c4609a740eee43fd7073c2485c87c2c6?format=markdown)
