Merge pull request #2024 from nghttp2/app-fix

App fix
This commit is contained in:
Tatsuhiro Tsujikawa
2023-12-27 19:33:30 +09:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -2219,6 +2219,9 @@ int HttpServer::run() {
}
ev_run(loop, 0);
SSL_CTX_free(ssl_ctx);
return 0;
}

View File

@@ -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];