mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
more child-process (#18688)
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com>
This commit is contained in:
@@ -468,7 +468,11 @@ public:
|
||||
HttpContext *httpContext;
|
||||
|
||||
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 constexpr (SSL) {
|
||||
httpContext = (HttpContext *) us_create_bun_ssl_socket_context((us_loop_t *) loop, sizeof(HttpContextData<SSL>), options, &err);
|
||||
} else {
|
||||
httpContext = (HttpContext *) us_create_bun_nossl_socket_context((us_loop_t *) loop, sizeof(HttpContextData<SSL>));
|
||||
}
|
||||
|
||||
if (!httpContext) {
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user