changeset 5:e7d1b49e0611

Keepalive: style.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 23 Oct 2008 19:18:36 +0400
parents e18e4613b841
children bef88ba0b378
files ngx_http_upstream_keepalive_module.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ngx_http_upstream_keepalive_module.c	Thu Oct 23 19:11:15 2008 +0400
+++ b/ngx_http_upstream_keepalive_module.c	Thu Oct 23 19:18:36 2008 +0400
@@ -8,11 +8,13 @@
 #include <ngx_core.h>
 #include <ngx_http.h>
 
+
 typedef struct {
     ngx_queue_t                        queue;
     ngx_connection_t                  *connection;
 } ngx_http_upstream_keepalive_cache_t;
 
+
 typedef struct {
     ngx_uint_t                         max_cached;
 
@@ -24,6 +26,7 @@
 
 } ngx_http_upstream_keepalive_srv_conf_t;
 
+
 typedef struct {
     ngx_http_upstream_keepalive_srv_conf_t  *conf;
 
@@ -45,7 +48,6 @@
 static void ngx_http_upstream_keepalive_dummy_handler(ngx_event_t *ev);
 static void ngx_http_upstream_keepalive_close_handler(ngx_event_t *ev);
 
-
 static void *ngx_http_upstream_keepalive_create_conf(ngx_conf_t *cf);
 static char *ngx_http_upstream_keepalive(ngx_conf_t *cf, ngx_command_t *cmd,
     void *conf);
@@ -178,7 +180,7 @@
     ngx_http_upstream_keepalive_cache_t      *item;
 
     ngx_queue_t       *q;
-    ngx_connection_t   *c;
+    ngx_connection_t  *c;
 
     ngx_log_debug0(NGX_LOG_DEBUG_HTTP, pc->log, 0,
                    "get keepalive peer");