aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-12-08 14:23:20 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-12-08 14:23:20 +0000
commit851cd73f1d1fffd265bff03f5db9470ec7f2842f (patch)
tree8b37df6fa5cc2ff72799a53532000b52480de34e /src/http/ngx_http_upstream.h
parentba206e147c5fd9932b04ac24d01662d86ba7d6b9 (diff)
downloadnginx-851cd73f1d1fffd265bff03f5db9470ec7f2842f.tar.gz
nginx-851cd73f1d1fffd265bff03f5db9470ec7f2842f.zip
*) refactor subrequest handling, now they run as separate posted requests
*) now $upstream_addr, $upstream_status, $upstream_response_time can be used with log_subrequest
Diffstat (limited to 'src/http/ngx_http_upstream.h')
-rw-r--r--src/http/ngx_http_upstream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index c87bcdc57..8d65a35b5 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -217,6 +217,9 @@ typedef struct {
struct ngx_http_upstream_s {
+ ngx_event_handler_pt read_event_handler;
+ ngx_event_handler_pt write_event_handler;
+
ngx_peer_connection_t peer;
ngx_event_pipe_t *pipe;