summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-05 13:31:53 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-05 13:31:53 +0300
commit41e2678110a575dfa751c284c393f42088760a0a (patch)
treeac75e443be3aa91f2425499d9f6dd45119583311 /src/nxt_application.h
parentf3107f3896c199a5bc166f57ccd9fef2823ccdaf (diff)
downloadunit-41e2678110a575dfa751c284c393f42088760a0a.tar.gz
unit-41e2678110a575dfa751c284c393f42088760a0a.tar.bz2
Python WSGI: SERVER_NAME, SERVER_PORT fixed, REMOTE_ADDR introduced.
Shortcut: do not iterate over String (or Bytes) return object. Call 'close()' for return object (if present).
Diffstat (limited to 'src/nxt_application.h')
-rw-r--r--src/nxt_application.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h
index 9d8b1054..9b51ba6d 100644
--- a/src/nxt_application.h
+++ b/src/nxt_application.h
@@ -43,6 +43,8 @@ typedef struct {
typedef struct {
nxt_app_request_header_t header;
nxt_app_request_body_t body;
+
+ nxt_str_t remote;
} nxt_app_request_t;