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); + } } /++