From 479ff1f2e6ea49303abb1817db9de2f32e48dea2 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Tue, 20 May 2025 09:56:44 -0400 Subject: [PATCH] better debugability --- http2.d | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/http2.d b/http2.d index e29a625..0d9f1d7 100644 --- a/http2.d +++ b/http2.d @@ -4074,6 +4074,7 @@ version(use_openssl) { OpenSSL.SSL_free(ssl); OpenSSL.SSL_CTX_free(ctx); ssl = null; + ctx = null; } ~this() { @@ -5424,6 +5425,10 @@ class WebSocket { unnexpectedCondition = 1011, unverifiedCertificate = 1015, // not set by client } + + string toString() { + return cast(string) (arsd.core.toStringInternal(code) ~ ": " ~ reason); + } } /++