Klaus Demo nginx / f00e81d
rename NGX_HTTP_OWN_CODES to NGX_HTTP_NGINX_CODES Igor Sysoev 11 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
9494 /* The special code to close connection without any response */
9595 #define NGX_HTTP_CLOSE 444
9696
97 #define NGX_HTTP_OWN_CODES 495
97 #define NGX_HTTP_NGINX_CODES 495
9898
9999 #define NGX_HTTPS_CERT_ERROR 495
100100 #define NGX_HTTPS_NO_CERT 496
428428 err = error - NGX_HTTP_BAD_REQUEST + NGX_HTTP_LEVEL_200
429429 + NGX_HTTP_LEVEL_300;
430430
431 } else if (error >= NGX_HTTP_OWN_CODES
431 } else if (error >= NGX_HTTP_NGINX_CODES
432432 && error < NGX_HTTP_LAST_LEVEL_500)
433433 {
434434 /* 49X, 5XX */
435 err = error - NGX_HTTP_OWN_CODES + NGX_HTTP_LEVEL_200
436 + NGX_HTTP_LEVEL_300
437 + NGX_HTTP_LEVEL_400;
435 err = error - NGX_HTTP_NGINX_CODES + NGX_HTTP_LEVEL_200
436 + NGX_HTTP_LEVEL_300
437 + NGX_HTTP_LEVEL_400;
438438 switch (error) {
439439 case NGX_HTTP_TO_HTTPS:
440440 case NGX_HTTPS_CERT_ERROR: