Deleted
Added
nxt_php_sapi.c (1733:dab8544b5440) | nxt_php_sapi.c (1815:d0ee0d19a7a6) |
---|---|
1/* 2 * Copyright (C) Max Romanov 3 * Copyright (C) Valentin V. Bartenev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include "php.h" 8#include "SAPI.h" --- 1027 unchanged lines hidden (view full) --- 1036 f = r->fields + r->cookie_field; 1037 1038 ctx->cookie = nxt_unit_sptr_get(&f->value); 1039 } 1040 1041 if (r->authorization_field != NXT_UNIT_NONE_FIELD) { 1042 f = r->fields + r->authorization_field; 1043 | 1/* 2 * Copyright (C) Max Romanov 3 * Copyright (C) Valentin V. Bartenev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include "php.h" 8#include "SAPI.h" --- 1027 unchanged lines hidden (view full) --- 1036 f = r->fields + r->cookie_field; 1037 1038 ctx->cookie = nxt_unit_sptr_get(&f->value); 1039 } 1040 1041 if (r->authorization_field != NXT_UNIT_NONE_FIELD) { 1042 f = r->fields + r->authorization_field; 1043 |
1044#ifdef NXT_PHP7 |
|
1044 php_handle_auth_data(nxt_unit_sptr_get(&f->value)); | 1045 php_handle_auth_data(nxt_unit_sptr_get(&f->value)); |
1046#else 1047 php_handle_auth_data(nxt_unit_sptr_get(&f->value) TSRMLS_CC); 1048#endif |
|
1045 1046 } else { 1047 SG(request_info).auth_digest = NULL; 1048 SG(request_info).auth_user = NULL; 1049 SG(request_info).auth_password = NULL; 1050 } 1051 1052 SG(sapi_headers).http_response_code = 200; --- 409 unchanged lines hidden --- | 1049 1050 } else { 1051 SG(request_info).auth_digest = NULL; 1052 SG(request_info).auth_user = NULL; 1053 SG(request_info).auth_password = NULL; 1054 } 1055 1056 SG(sapi_headers).http_response_code = 200; --- 409 unchanged lines hidden --- |