CA support for bun install (#14416)

This commit is contained in:
Dylan Conway
2024-10-11 13:16:26 -07:00
committed by GitHub
parent 9fe6e25372
commit 5fd0a61ae2
29 changed files with 678 additions and 125 deletions

View File

@@ -433,7 +433,8 @@ public:
static HttpContext *create(Loop *loop, us_bun_socket_context_options_t options = {}) {
HttpContext *httpContext;
httpContext = (HttpContext *) us_create_bun_socket_context(SSL, (us_loop_t *) loop, sizeof(HttpContextData<SSL>), options);
enum create_bun_socket_error_t err = CREATE_BUN_SOCKET_ERROR_NONE;
httpContext = (HttpContext *) us_create_bun_socket_context(SSL, (us_loop_t *) loop, sizeof(HttpContextData<SSL>), options, &err);
if (!httpContext) {
return nullptr;