view src/core/nginx.h @ 5352:ec0be12c8e29

Referer: fixed hostname buffer overflow check. Because of premature check the effective buffer size was 255 symbols while the buffer is able to handle 256.
author Valentin Bartenev <vbart@nginx.com>
date Thu, 29 Aug 2013 22:35:54 +0400
parents 293290081b12
children 3adbd23bf79e
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) Nginx, Inc.
 */


#ifndef _NGINX_H_INCLUDED_
#define _NGINX_H_INCLUDED_


#define nginx_version      1005005
#define NGINX_VERSION      "1.5.5"
#define NGINX_VER          "nginx/" NGINX_VERSION

#define NGINX_VAR          "NGINX"
#define NGX_OLDPID_EXT     ".oldbin"


#endif /* _NGINX_H_INCLUDED_ */