Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CE431054B for ; Mon, 14 Apr 2014 00:14:07 +0000 (UTC) Received: (qmail 5445 invoked by uid 500); 14 Apr 2014 00:14:05 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 5346 invoked by uid 500); 14 Apr 2014 00:14:05 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 5338 invoked by uid 99); 14 Apr 2014 00:14:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2014 00:14:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2014 00:14:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9A9772388993; Mon, 14 Apr 2014 00:13:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1587126 - in /httpd/httpd/trunk: docs/manual/mod/mod_proxy_wstunnel.xml modules/proxy/mod_proxy_wstunnel.c Date: Mon, 14 Apr 2014 00:13:43 -0000 To: cvs@httpd.apache.org From: covener@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140414001343.9A9772388993@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: covener Date: Mon Apr 14 00:13:43 2014 New Revision: 1587126 URL: http://svn.apache.org/r1587126 Log: s/asynch/async Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml?rev=1587126&r1=1587125&r2=1587126&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml Mon Apr 14 00:13:43 2014 @@ -54,9 +54,9 @@ ProxyPass /wss2/ wss://echo.websocket.or mod_proxy -ProxyWebsocketAsynch +ProxyWebsocketAsync Instructs this module to try to create an asynchronous tunnel -ProxyWebsocketAsynch ON|OFF +ProxyWebsocketAsync ON|OFF server config virtual host @@ -79,22 +79,22 @@ ProxyPass /wss2/ wss://echo.websocket.or

This directive imposes a maximum amount of time for the tunnel to be - left open while idle. This directive is ignored if ProxyWebsocketAsynch + left open while idle. This directive is ignored if ProxyWebsocketAsync is enabled and the running MPM supports the necessary features

-ProxyWebsocketAsynchDelay +ProxyWebsocketAsyncDelay Sets the amount of time the tunnel waits synchronously for data -ProxyWebsocketAsynchDelay num[ms] -ProxyWebsocketAsynchDelay 0 +ProxyWebsocketAsyncDelay num[ms] +ProxyWebsocketAsyncDelay 0 server config virtual host -

If ProxyWebsocketAsynch is enabled, this directive +

If ProxyWebsocketAsync is enabled, this directive controls how long the server synchronously waits for more data.

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c?rev=1587126&r1=1587125&r2=1587126&view=diff ============================================================================== --- httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c (original) +++ httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c Mon Apr 14 00:13:43 2014 @@ -63,7 +63,7 @@ static int proxy_wstunnel_pump(ws_baton_ } else if (APR_STATUS_IS_TIMEUP(rv)) { if (try_async) { - ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02542) "Attempting to go asynch"); + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02542) "Attempting to go async"); return SUSPENDED; } else { @@ -411,7 +411,7 @@ static int ap_proxy_wstunnel_request(apr return SUSPENDED; } else if (status == APR_ENOTIMPL) { - ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02544) "No asynch support"); + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02544) "No async support"); status = proxy_wstunnel_pump(baton, dconf->idle_timeout, 0); /* force no async */ } else { @@ -537,21 +537,21 @@ static const char * proxyws_set_aysnch_d { proxyws_dir_conf *dconf = conf; if (ap_timeout_parameter_parse(val, &(dconf->async_delay), "s") != APR_SUCCESS) - return "ProxyWebsocketAsynchDelay timeout has wrong format"; + return "ProxyWebsocketAsyncDelay timeout has wrong format"; return NULL; } static const command_rec ws_proxy_cmds[] = { - AP_INIT_FLAG("ProxyWebsocketAsynch", ap_set_flag_slot_char, (void*)APR_OFFSETOF(proxyws_dir_conf, is_async), + AP_INIT_FLAG("ProxyWebsocketAsync", ap_set_flag_slot_char, (void*)APR_OFFSETOF(proxyws_dir_conf, is_async), RSRC_CONF|ACCESS_CONF, - "on if idle websockets connections should be monitored asynchronously"), + "on if idle websockets connections should be monitored asyncronously"), AP_INIT_TAKE1("ProxyWebsocketIdleTimeout", proxyws_set_idle, NULL, RSRC_CONF|ACCESS_CONF, - "timeout for activity in either direction, unlimited by default. Not currently supported with ProxyWebsocketAsynch"), + "timeout for activity in either direction, unlimited by default. Not currently supported with ProxyWebsocketAsync"), - AP_INIT_TAKE1("ProxyWebsocketAsynchDelay", proxyws_set_aysnch_delay, NULL, RSRC_CONF|ACCESS_CONF, - "amount of time to poll before going asynchronous"), + AP_INIT_TAKE1("ProxyWebsocketAsyncDelay", proxyws_set_aysnch_delay, NULL, RSRC_CONF|ACCESS_CONF, + "amount of time to poll before going asyncronous"), {NULL} };