mirror of https://github.com/adamdruppe/arsd.git
better debugability
This commit is contained in:
parent
039efe58d0
commit
479ff1f2e6
5
http2.d
5
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);
|
||||
}
|
||||
}
|
||||
|
||||
/++
|
||||
|
|
|
|||
Loading…
Reference in New Issue