# std.http.Client: add option to disable https · gitcafe/zig

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

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

Visibility: public

Requested revision: 0eef21d8ec290564ab503e5ad25f4c0c86f04d45

Requested commit: 0eef21d8ec290564ab503e5ad25f4c0c86f04d45

Commit: 0eef21d8ec290564ab503e5ad25f4c0c86f04d45

Tree: 0875fc925e2686dcbfd0187e415cea6b0e12d1fb

Author: Nameless

Committer: Nameless

## Message

````
std.http.Client: add option to disable https

std_options.http_connection_pool_size removed in favor of

```
client.connection_pool.resize(client.allocator, size);
```

std_options.http_disable_tls will remove all https capability from
std.http when true. Any https request will error with
`error.TlsInitializationFailed`.

Solves #17051.

````

## Parents

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

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