httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r111719 - /httpd/httpd/trunk/modules/http/http_core.c
Date Mon, 13 Dec 2004 16:13:07 GMT
Author: pquerna
Date: Mon Dec 13 08:13:06 2004
New Revision: 111719

URL: http://svn.apache.org/viewcvs?view=rev&rev=111719
Log:
* Style fixes only. No functional changes. Remove two tabs. Fix an If. Split a String.

Modified:
   httpd/httpd/trunk/modules/http/http_core.c

Modified: httpd/httpd/trunk/modules/http/http_core.c
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/http/http_core.c?view=diff&rev=111719&p1=httpd/httpd/trunk/modules/http/http_core.c&r1=111718&p2=httpd/httpd/trunk/modules/http/http_core.c&r2=111719
==============================================================================
--- httpd/httpd/trunk/modules/http/http_core.c	(original)
+++ httpd/httpd/trunk/modules/http/http_core.c	Mon Dec 13 08:13:06 2004
@@ -88,17 +88,22 @@
     AP_INIT_TAKE1("KeepAliveTimeout", set_keep_alive_timeout, NULL, RSRC_CONF,
                   "Keep-Alive timeout duration (sec)"),
     AP_INIT_TAKE1("MaxKeepAliveRequests", set_keep_alive_max, NULL, RSRC_CONF,
-     "Maximum number of Keep-Alive requests per connection, or 0 for infinite"),
+                  "Maximum number of Keep-Alive requests per connection, "
+                  "or 0 for infinite"),
     AP_INIT_TAKE1("KeepAlive", set_keep_alive, NULL, RSRC_CONF,
                   "Whether persistent connections should be On or Off"),
     { NULL }
 };
 
 static const char *http_method(const request_rec *r)
-    { return "http"; }
+{
+    return "http";
+}
 
 static apr_port_t http_port(const request_rec *r)
-    { return DEFAULT_HTTP_PORT; }
+{
+    return DEFAULT_HTTP_PORT;
+}
 
 static int ap_process_http_async_connection(conn_rec *c)
 {
@@ -208,14 +213,14 @@
      * use a different processing function
      */
     int async_mpm = 0;
-    if(ap_mpm_query(AP_MPMQ_IS_ASYNC, &async_mpm) == APR_SUCCESS 
-       && async_mpm == 1) {
-        ap_hook_process_connection(ap_process_http_async_connection,NULL,
-            NULL,APR_HOOK_REALLY_LAST);
+    if (ap_mpm_query(AP_MPMQ_IS_ASYNC, &async_mpm) == APR_SUCCESS 
+        && async_mpm == 1) {
+        ap_hook_process_connection(ap_process_http_async_connection, NULL,
+                                   NULL, APR_HOOK_REALLY_LAST);
     }
     else {
-    ap_hook_process_connection(ap_process_http_connection,NULL,NULL,
-			       APR_HOOK_REALLY_LAST);
+        ap_hook_process_connection(ap_process_http_connection, NULL, NULL, 
+                                   APR_HOOK_REALLY_LAST);
     }
 
     ap_hook_map_to_storage(ap_send_http_trace,NULL,NULL,APR_HOOK_MIDDLE);

Mime
View raw message