diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-07-05 13:31:53 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-07-05 13:31:53 +0300 |
commit | 41e2678110a575dfa751c284c393f42088760a0a (patch) | |
tree | ac75e443be3aa91f2425499d9f6dd45119583311 /src/nxt_application.h | |
parent | f3107f3896c199a5bc166f57ccd9fef2823ccdaf (diff) | |
download | unit-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.h | 2 |
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; |