Mercurial > hg > nginx
comparison src/http/ngx_http_special_response.c @ 6993:8801ff7d58e1
Don't pretend we support HTTP major versions >1 as HTTP/1.1.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 25 Apr 2017 23:39:13 +0300 |
parents | be5cfa918bfc |
children | 170922952477 |
comparison
equal
deleted
inserted
replaced
6992:330b6c33a5c4 | 6993:8801ff7d58e1 |
---|---|
316 static char ngx_http_error_504_page[] = | 316 static char ngx_http_error_504_page[] = |
317 "<html>" CRLF | 317 "<html>" CRLF |
318 "<head><title>504 Gateway Time-out</title></head>" CRLF | 318 "<head><title>504 Gateway Time-out</title></head>" CRLF |
319 "<body bgcolor=\"white\">" CRLF | 319 "<body bgcolor=\"white\">" CRLF |
320 "<center><h1>504 Gateway Time-out</h1></center>" CRLF | 320 "<center><h1>504 Gateway Time-out</h1></center>" CRLF |
321 ; | |
322 | |
323 | |
324 static char ngx_http_error_505_page[] = | |
325 "<html>" CRLF | |
326 "<head><title>505 HTTP Version Not Supported</title></head>" CRLF | |
327 "<body bgcolor=\"white\">" CRLF | |
328 "<center><h1>505 HTTP Version Not Supported</h1></center>" CRLF | |
321 ; | 329 ; |
322 | 330 |
323 | 331 |
324 static char ngx_http_error_507_page[] = | 332 static char ngx_http_error_507_page[] = |
325 "<html>" CRLF | 333 "<html>" CRLF |
393 ngx_string(ngx_http_error_500_page), | 401 ngx_string(ngx_http_error_500_page), |
394 ngx_string(ngx_http_error_501_page), | 402 ngx_string(ngx_http_error_501_page), |
395 ngx_string(ngx_http_error_502_page), | 403 ngx_string(ngx_http_error_502_page), |
396 ngx_string(ngx_http_error_503_page), | 404 ngx_string(ngx_http_error_503_page), |
397 ngx_string(ngx_http_error_504_page), | 405 ngx_string(ngx_http_error_504_page), |
398 ngx_null_string, /* 505 */ | 406 ngx_string(ngx_http_error_505_page), |
399 ngx_null_string, /* 506 */ | 407 ngx_null_string, /* 506 */ |
400 ngx_string(ngx_http_error_507_page) | 408 ngx_string(ngx_http_error_507_page) |
401 | 409 |
402 #define NGX_HTTP_LAST_5XX 508 | 410 #define NGX_HTTP_LAST_5XX 508 |
403 | 411 |