mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
nginx-0.1.5-RELEASE import
*) Bugfix: on Solaris and Linux there may be too many "recvmsg()
returned not enough data" alerts.
*) Bugfix: there were the "writev() failed (22: Invalid argument)"
errors on Solaris in proxy mode without sendfile. On other platforms
that do not support sendfile at all the process got caught in an
endless loop.
*) Bugfix: segmentation fault on Solaris in proxy mode and using
sendfile.
*) Bugfix: segmentation fault on Solaris.
*) Bugfix: on-line upgrade did not work on Linux.
*) Bugfix: the ngx_http_autoindex_module module did not escape the
spaces, the quotes, and the percent signs in the directory listing.
*) Change: the decrease of the copy operations.
*) Feature: the userid_p3p directive.
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
#if !(WIN32)
|
||||
#if !(NGX_WIN32)
|
||||
|
||||
#define ngx_signal_helper(n) SIG##n
|
||||
#define ngx_signal_value(n) ngx_signal_helper(n)
|
||||
@@ -72,8 +72,6 @@ typedef int ngx_int_t;
|
||||
typedef u_int ngx_uint_t;
|
||||
typedef int ngx_flag_t;
|
||||
#define NGX_INT_T_LEN sizeof("-2147483648") - 1
|
||||
#define NGX_INT_T_FMT "d"
|
||||
#define NGX_UINT_T_FMT "u"
|
||||
|
||||
#else
|
||||
|
||||
@@ -81,8 +79,6 @@ typedef long ngx_int_t;
|
||||
typedef u_long ngx_uint_t;
|
||||
typedef long ngx_flag_t;
|
||||
#define NGX_INT_T_LEN sizeof("-9223372036854775808") - 1
|
||||
#define NGX_INT_T_FMT "lld"
|
||||
#define NGX_UINT_T_FMT "llu"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -131,5 +127,12 @@ typedef long ngx_flag_t;
|
||||
#define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN
|
||||
*/
|
||||
|
||||
#if ((__GNU__ == 2) && (__GNUC_MINOR__ < 8))
|
||||
#define NGX_MAX_UINT32_VALUE 0xffffffffLL
|
||||
#else
|
||||
#define NGX_MAX_UINT32_VALUE 0xffffffff
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#endif /* _NGX_CONFIG_H_INCLUDED_ */
|
||||
|
||||
Reference in New Issue
Block a user