mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
$hostname variable
This commit is contained in:
@@ -116,10 +116,11 @@ typedef intptr_t ngx_flag_t;
|
||||
#define INET_ADDRSTRLEN 16
|
||||
#endif
|
||||
|
||||
#define NGX_MAXHOSTNAMELEN 64
|
||||
/*
|
||||
#define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN
|
||||
*/
|
||||
#ifdef MAXHOSTNAMELEN
|
||||
#define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN
|
||||
#else
|
||||
#define NGX_MAXHOSTNAMELEN 256
|
||||
#endif
|
||||
|
||||
|
||||
#if ((__GNU__ == 2) && (__GNUC_MINOR__ < 8))
|
||||
|
||||
Reference in New Issue
Block a user