Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/http/http_request_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct HttpConfig {
bool use_ssl = true;
int connection_timeout_sec = 30;
int read_timeout_sec = 120;
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This security-sensitive default merits an explanatory comment (e.g., rationale, how to override for self-signed certificates) above the field to prevent silent confusion. Suggest adding a brief doc comment: // When true, performs SSL certificate validation. Set to false only for controlled test environments with self-signed certs.

Suggested change
int read_timeout_sec = 120;
int read_timeout_sec = 120;
// When true, performs SSL certificate validation. Set to false only for controlled test environments with self-signed certs.

Copilot uses AI. Check for mistakes.
bool verify_ssl_cert = false;
bool verify_ssl_cert = true;
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing the default from false to true is a breaking behavioral change for consumers who relied on disabled verification (e.g., self-signed test environments). Consider adding a transitional strategy (e.g., version bump, release notes, or an explicit migration guide) or preserving backward compatibility via a factory/helper that applies legacy defaults when needed.

Copilot uses AI. Check for mistakes.

// Retry configuration
retry::RetryConfig retry_config;
Expand Down