nxt_php_sapi.c (259:9cf0e151e752) nxt_php_sapi.c (261:950d8bee6b3d)
1
2/*
3 * Copyright (C) Max Romanov
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#include "php.h"

--- 489 unchanged lines hidden (view full) ---

498 static const u_char default_repsonse[]
499 = "HTTP/1.1 200 OK\r\n"
500 "Server: unit/" NXT_VERSION "\r\n"
501 "Content-Type: text/html; charset=UTF-8\r\n"
502 "Connection: close\r\n"
503 "\r\n";
504
505 static const u_char default_headers[]
1
2/*
3 * Copyright (C) Max Romanov
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#include "php.h"

--- 489 unchanged lines hidden (view full) ---

498 static const u_char default_repsonse[]
499 = "HTTP/1.1 200 OK\r\n"
500 "Server: unit/" NXT_VERSION "\r\n"
501 "Content-Type: text/html; charset=UTF-8\r\n"
502 "Connection: close\r\n"
503 "\r\n";
504
505 static const u_char default_headers[]
506 - "Server: unit/" NXT_VERSION "\r\n"
506 = "Server: unit/" NXT_VERSION "\r\n"
507 "Connection: close\r\n";
508
509 static const u_char http_11[] = "HTTP/1.1 ";
510 static const u_char cr_lf[] = "\r\n";
511 static const u_char _200_ok[] = "200 OK";
512
513 ctx = SG(server_context);
514

--- 235 unchanged lines hidden ---
507 "Connection: close\r\n";
508
509 static const u_char http_11[] = "HTTP/1.1 ";
510 static const u_char cr_lf[] = "\r\n";
511 static const u_char _200_ok[] = "200 OK";
512
513 ctx = SG(server_context);
514

--- 235 unchanged lines hidden ---