Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that SSL support is enabled in HttpClient #81

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Conversation

botimer
Copy link
Member

@botimer botimer commented Jul 12, 2024

The http-check tool was working fine with HTTPS because it enabled the support before it included httplib.h. However, the HttpClient implementation did not, which mean that the whole of the shared library was not supporting HTTPS.

When using the API over HTTPS, this was silently crashing the module because of an uncaught exception. This would normally produce stdout or stderr output, but it is squelched by the Apache process management.

We add an additional api-check binary that enables a cursory check of using the Authorizer against an HTTP or HTTPS API instance from the command line.

The http-check tool was working fine with HTTPS because it enabled the
support before it included httplib.h. However, the HttpClient
implementation did not, which mean that the whole of the shared library
was not supporting HTTPS.

When using the API over HTTPS, this was silently crashing the module
because of an uncaught exception. This would normally produce stdout or
stderr output, but it is squelched by the Apache process management.

We add an additional api-check binary that enables a cursory check of
using the Authorizer against an HTTP or HTTPS API instance from the
command line.
@botimer botimer merged commit c303b63 into main Jul 12, 2024
4 checks passed
@botimer botimer deleted the enable-ssl-api branch July 12, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant