summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-12-09 17:25:03 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-12-09 17:25:03 +0000
commitb9409a8e25b053b4fd8c75a9017f9aac1cab569d (patch)
tree3f5f39557d8cfe051d8a7003b5eaafd0729ddc70 /src/http/ngx_http_upstream.h
parentf8ffc2eb598dbcf9354ff957bd2d558459427ffa (diff)
downloadnginx-b9409a8e25b053b4fd8c75a9017f9aac1cab569d.tar.gz
nginx-b9409a8e25b053b4fd8c75a9017f9aac1cab569d.tar.bz2
use already available r and u instead of ev
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_upstream.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index 8d65a35b5..3ec85f94b 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -216,9 +216,13 @@ typedef struct {
} ngx_http_upstream_resolved_t;
+typedef void (*ngx_http_upstream_handler_pt)(ngx_http_request_t *r,
+ ngx_http_upstream_t *u);
+
+
struct ngx_http_upstream_s {
- ngx_event_handler_pt read_event_handler;
- ngx_event_handler_pt write_event_handler;
+ ngx_http_upstream_handler_pt read_event_handler;
+ ngx_http_upstream_handler_pt write_event_handler;
ngx_peer_connection_t peer;