You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/09/23 13:54:05 UTC
svn commit: r1893564 - /httpd/httpd/trunk/modules/http2/h2_workers.c
Author: icing
Date: Thu Sep 23 13:54:05 2021
New Revision: 1893564
URL: http://svn.apache.org/viewvc?rev=1893564&view=rev
Log:
mod_http2: fixed speling error.
Modified:
httpd/httpd/trunk/modules/http2/h2_workers.c
Modified: httpd/httpd/trunk/modules/http2/h2_workers.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_workers.c?rev=1893564&r1=1893563&r2=1893564&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_workers.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_workers.c Thu Sep 23 13:54:05 2021
@@ -319,7 +319,7 @@ static void workers_abort_idle(h2_worker
static apr_status_t workers_pool_cleanup(void *data)
{
h2_workers *workers = data;
- apr_time_t end, timout = apr_time_from_sec(1);
+ apr_time_t end, timeout = apr_time_from_sec(1);
apr_status_t rv;
int n, wait_sec = 5;
@@ -336,7 +336,7 @@ static apr_status_t workers_pool_cleanup
end = apr_time_now() + apr_time_from_sec(wait_sec);
while ((n = apr_atomic_read32(&workers->worker_count)) > 0
&& apr_time_now() < end) {
- rv = apr_thread_cond_timedwait(workers->all_done, workers->lock, timout);
+ rv = apr_thread_cond_timedwait(workers->all_done, workers->lock, timeout);
if (APR_TIMEUP == rv) {
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, workers->s,
APLOGNO(10290) "h2_workers: waiting for idle workers to close, "