mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-06 18:18:52 +08:00
@@ -2219,6 +2219,9 @@ int HttpServer::run() {
|
||||
}
|
||||
|
||||
ev_run(loop, 0);
|
||||
|
||||
SSL_CTX_free(ssl_ctx);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user