diff --git a/src/HttpServer.cc b/src/HttpServer.cc index b63f05ce..0385cd01 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -2219,6 +2219,9 @@ int HttpServer::run() { } ev_run(loop, 0); + + SSL_CTX_free(ssl_ctx); + return 0; } diff --git a/src/h2load.cc b/src/h2load.cc index 3393f1cb..2bcc0493 100644 --- a/src/h2load.cc +++ b/src/h2load.cc @@ -947,6 +947,10 @@ void Client::on_header(int32_t stream_id, const uint8_t *name, size_t namelen, } } + if (status < 200) { + return; + } + stream.req_stat.status = status; if (status >= 200 && status < 300) { ++worker->stats.status[2];