view auto/lib/zlib/patch.zlib.h @ 3779:57aecfdcac3d

an excess was logged as 0.000 if requests were limited without delay: *) use a real excess value instead of non-updated limit_req rbtree node field, *) move inactivity queue handling inside ngx_http_limit_req_lookup() since the node is not required outside the lookup function; the bug has been introduced in r3184
author Igor Sysoev <igor@sysoev.ru>
date Wed, 13 Oct 2010 20:58:41 +0000
parents b1648294f693
children
line wrap: on
line source

--- zlib.h	Thu Jul  9 20:06:56 1998
+++ zlib-1.1.3/zlib.h	Tue Mar 22 13:41:04 2005
@@ -709,7 +709,6 @@
    (0 in case of error).
 */
 
-ZEXTERN int ZEXPORTVA   gzprintf OF((gzFile file, const char *format, ...));
 /*
      Converts, formats, and writes the args to the compressed file under
    control of the format string, as in fprintf. gzprintf returns the number of