Add option for HTTPS clients to not verify the peer's certificate

This commit is contained in:
2025-11-29 19:56:09 +01:00
parent 008772aef1
commit 954bcb7e3e
8 changed files with 70 additions and 10 deletions
+7
View File
@@ -81,6 +81,9 @@ typedef struct {
// TODO: comment
bool trace_bytes;
// TODO: comment
bool dont_verify_cert;
// Allocated copy of the URL string
HTTP_String url_buffer;
@@ -170,6 +173,10 @@ void http_request_builder_set_user(HTTP_RequestBuilder builder,
void http_request_builder_trace(HTTP_RequestBuilder builder,
bool trace_bytes);
// TODO: comment
void http_request_builder_insecure(HTTP_RequestBuilder builder,
bool insecure);
// Set the method of the current request. This is the first
// function of the request builder that the user must call.
void http_request_builder_method(HTTP_RequestBuilder builder,