//
-// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
+// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
-
-#ifndef BOOST_BEAST_ZLIB_INFLATE_STREAM_HPP
-#define BOOST_BEAST_ZLIB_INFLATE_STREAM_HPP
-
-#include <boost/beast/core/detail/config.hpp>
-#include <boost/beast/zlib/detail/inflate_stream.hpp>
-
// This is a derivative work based on Zlib, copyright below:
/*
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
(zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
*/
+#ifndef BOOST_BEAST_ZLIB_INFLATE_STREAM_HPP
+#define BOOST_BEAST_ZLIB_INFLATE_STREAM_HPP
+
+#include <boost/beast/core/detail/config.hpp>
+#include <boost/beast/zlib/detail/inflate_stream.hpp>
+
namespace boost {
namespace beast {
namespace zlib {
the effects of the flush parameter in this implementation are on the return value
of `write` as noted below, when `write` returns early when `Flush::block` or
`Flush::trees` is used, and when `write` avoids the allocation of memory for a
- sliding window when `Flush::finsih` is used.
+ sliding window when `Flush::finish` is used.
If a preset dictionary is needed after this call,
`write` sets `zs.adler` to the Adler-32 checksum of the dictionary chosen by