Added SERVER_ADDR parameter for Python and PHP modules.

This commit is contained in:
Igor Sysoev
2017-09-01 07:54:01 +03:00
parent 9941b0cd65
commit ff515f4312
4 changed files with 11 additions and 0 deletions

View File

@@ -666,6 +666,7 @@ nxt_python_get_environ(nxt_task_t *task, nxt_app_rmsg_t *rmsg,
NXT_READ("SERVER_PROTOCOL");
NXT_READ("REMOTE_ADDR");
NXT_READ("SERVER_ADDR");
RC(nxt_app_msg_read_str(task, rmsg, &host));