Bazel: update zlib to v1.2.11.

This update includes the following changes:

cacf7f1 zlib 1.2.11
cbbd203 Permit immediate deflateParams changes before any deflate input.
7d9c9d4 Update high water mark in deflate_stored.
37ed211 Update vestigial comment from very old Info-ZIP deflate.
4c7c907 Fix deflate stored bug when pulling last block from window.
74d2696 Update location of Visual Studio project files.
c38a260 Delete user-specific Visual Studio project files.
11ceaed Change version number to 1.2.10.1.
4a090ad zlib 1.2.10
e13def0 Fix compilation with --solo and --debug combined.
1e3bccd Add warnings when compiling with assembler code.
c7d7775 Remove files to be installed before copying them in Makefile.in.
0b5c158 Fix bug in gzwrite.c that produced corrupt gzip files.
bc5503b Fix bug in deflate_stored() for zero-length input.
52aa550 Minor edits and clarifications of comments.
7358ef2 Avoid warnings on snprintf() return value.
20e4725 Change version number to zlib 1.2.9.1.
6bdca50 Fix some stray 1.2.8.1 version numbers.
2fa463b zlib 1.2.9
14e3194 Update Visual Studio project files (AraHaan).
b9ae6f0 Add crc32_z() and adler32_z() functions with size_t lengths.
61b91f2 Make z_size_t unsigned long for non-standard C.
cca27e9 Avoid the need for ssize_t.
b7fbee2 Use a uniform approach for the largest value of an unsigned type.
f3fcb92 Use intptr_t for z_ssize_t on MSVC.
8f147c3 Avoid some random compiler warnings on various platforms.
fb26fc4 Allow minigzip to compile when testing with ./configure --solo.
d465465 Replace as400 with os400 for OS/400 support (Monnerat).
f12d3dc Detect clang in cc version.
50dca6d Fix init macros to use z_ prefix when requested.
d6f0da2 Fix character encoding and link in contrib README.
79b5c5a Use snprintf() for later versions of Microsoft C.
ee7d7b5 Add deflateGetDictionary() function.
feafcfa No need to check for NULL argument to free().
77bc4f8 Add gzfwrite(), duplicating the interface of fwrite().
44dfd83 Add gzfread(), duplicating the interface of fread().
3f8c768 Fix compile option for when z_size_t needs to be a long long.
ca50ebd Create z_size_t and z_ssize_t types.
c5ee34c Don't need to emit an empty fixed block when changing parameters.
123f9cf Clean up gz* function return values.
9dc5a85 Speed up deflation for level 0 (storing).
7161ad7 Assure that deflateParams() will not switch functions mid-block.
1101ea7 Explicitly ignore a return value in gzwrite.c.
21c66cd Increase verbosity required to warn about bit length overflow.
37281ac Add uncompress2() function, which returns the input size used.
001300d Minor edits to the documentation in source file contents.
9674807 Fix bugs in creating a very large gzip header.
fc130cd Add --debug (-d) option to ./configure to define ZLIB_DEBUG.
a456d89 Use memcpy for stored blocks.
03614c5 Fix some typos.
9457585 Fix bug when level 0 used with Z_HUFFMAN or Z_RLE.
bedea24 Clean up and comment the use of local for static.
ce12c5c Make a noble effort at setting OS_CODE correctly.
b516b4b Do a more thorough check of the state for every stream call.
77fd7e5 Document the rejection of 256-byte window requests in zlib.h.
049578f Reject a window size of 256 bytes if not using the zlib wrapper.
a0bf0f3 Avoid obfuscating use of default case in inftrees.c.
da64f17 Move macro definition in deflate.c to where it is used.
ebbc573 Avoid recursive gzgetc() macro call.
7d6956b Make globals in examples local to compilation unit.
8b95fa1 Add --warn option to ./configure, instead of environment variable.
7096424 Clean up type conversions.
2edb94a Avoid casting an out-of-range value to long.
e08118c Note the violation of the strict aliasing rule in crc32.c.
d1d5774 Avoid pre-decrement of pointer in big-endian CRC calculation.
6a04314 Remove offset pointer optimization in inftrees.c.
9aaec95 Use post-increment only in inffast.c.
3fb251b Remove dummy structure declarations for old buggy compilers.
33a7aff Fix typo.
9852c20 Add option to not compute or check check values.
93b0af4 Correct the size of the inflate state in the comments.
70a8763 Fix typo in blast.c.
2bcfc31 Add configure.log to .gitignore.
4f1df00 Loop on write() calls in gzwrite.c in case of non-blocking I/O.
4423fef Fix gzseek() problem on MinGW due to buggy _lseeki64 there.
6cef1de Fix bug that accepted invalid zlib header when windowBits is zero.
8f1b374 Use a consistent and more modern approach to not use a parameter.
f77c982 Use UTF-8 for non-ASCII characters in ChangeLog.
44ae761 Clean up portability for shifts and integer sizes.
e54e129 Avoid shifts of negative values inflateMark().
27ef026 Fix typo.
82e9dc6 Use const for static tree descriptions in deflate.
55d98b4 Allow building zlib outside of the source directory.
bfcace0 Do not initialize unsigned with -1 in compress.c uncompr.c.
43bfaba Align deflateParams() and its documentation in zlib.h.
b4ce6ca Compile the gzopen_w() function when __CYGWIN__ defined.
2fc6d66 Define _POSIX_SOURCE to enable POSIX extensions on some systems.
5701f48 Clarify deflateReset() documentation.
c901a34 Avoid uninitialized access by gzclose_w().
51a223d Avoid use of DEBUG macro -- change to ZLIB_DEBUG.
0b22337 Avoid use of reallocf() in test/infcover.c.
0db8fd3 Fix inflateInit2() bug when windowBits is 16 or 32.
b56d1c6 Add comment about not using windowBits of 8 for deflate().
e7ebb39 Put license in zlib.3 man page.
9569809 Improve speed of gzprintf() in transparent mode.
8a979f6 Avoid left shift of a negative value in flush rank calculation.
9859a94 Remedy Coverity warning. [Randers-Pehrson]
5370d99 Add inflateCodesUsed() function for internal use.
283520b Fix bug in test/example.c where error code not saved.
9cbda79 Note in zlib.h that compress() uses Z_DEFAULT_COMPRESSION.
7d54c69 Fix uncompress() to work on lengths more than a maximum unsigned.
f898bbe Fix compress() to work on lengths more than a maximum unsigned.
72c7006 Assure that gzoffset() is correct when appending.
799c87c Improve contrib/blast to return unused bytes.  Fix the test code to report the count of unused bytes at the end correctly.  Add the ability to provide initial input to blast().
89e335a Fix contrib/minizip to permit unzipping with desktop API [Zouzou].
303d92c Spacing cleanup.
ceeb615 Change version number to 1.2.8.1.

Change-Id: I5aeb8caf12bbe82cbe982698237deada7412617c
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Reviewed-on: https://nginx-review.googlesource.com/2782
Reviewed-by: Lizan Zhou <zlizan@google.com>
1 file changed
tree: 2e0cdf51b5f4d9e4d1ca7fa514754955ad31a3fd
  1. auto/
  2. conf/
  3. contrib/
  4. docs/
  5. misc/
  6. src/
  7. .hgtags
  8. BUILD
  9. build.bzl
  10. LICENSE
  11. README.md
  12. WORKSPACE
README.md

About

NGINX + BoringSSL + Brotli.

Building

To build nginx binary with Bazel:

$ bazel build :nginx

To build Debian package:

$ bazel build :nginx-google.deb

Contributing

This repository is currently maintained by Google developers.

Any code changes should be submitted to upstream NGINX.

License

Copyright (C) 2002-2017 Igor Sysoev
Copyright (C) 2011-2017 Nginx, Inc.
Copyright (C) 2015-2017 Google Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

Disclaimer

This is not an official Google product.