Fix some typos:

fix #1255

Found via `codespell -q 3 -L uint,te,tim --skip="./test/extern/zlib*,./example/http/client/crawl*"`
This commit is contained in:
luz.paz
2018-09-23 14:58:03 -04:00
committed by Vinnie Falco
parent e2d192ec78
commit f3212eba48
13 changed files with 18 additions and 17 deletions

View File

@ -1,6 +1,7 @@
Version 184:
* Remove extraneous function
* Fix some typos
--------------------------------------------------------------------------------
@ -1316,7 +1317,7 @@ Actions Required:
take the logical NOT of the return value.
* Modify instances of user-defined BodyReader and BodyWriter
types to perfrom two-phase initialization, as per the
types to perform two-phase initialization, as per the
updated documented type requirements.
--------------------------------------------------------------------------------
@ -2410,7 +2411,7 @@ The message class hierarchy is refactored (breaking change):
* Fix integer warnings in Windows builds
* Add 32 and 64 bit Windows build support
* Update README for build instructions and more
* Add repository and documention banners
* Add repository and documentation banners
--------------------------------------------------------------------------------

View File

@ -441,7 +441,7 @@
</xsl:if>
<!-- Doxygen injects a <para></para> element around the listitem contents
so this rule extracts the contents and formats that directly to avoid
introducing extra newlines from formating para -->
introducing extra newlines from formatting para -->
<xsl:apply-templates select="para/node()" mode="markup"/>
</xsl:template>

View File

@ -12,7 +12,7 @@
In this example we will build a simple function to detect the presence
of the SSL handshake given an input buffer sequence. Then we build on
the example by adding a synchronous stream algorithm. Finally, we
implemement an asynchronous detection function using a composed operation.
implement an asynchronous detection function using a composed operation.
This SSL detector may be used to allow a server to accept both SSL/TLS and
unencrypted connections at the same port.

View File

@ -61,7 +61,7 @@ In this table:
[`f.close(ec)`]
[]
[
If `f` refers to an open file, thie function attempts to
If `f` refers to an open file, this function attempts to
close the file.
Regardless of whether an error occurs or not, a subsequent
call to `f.is_open()` will return `false`.

View File

@ -248,7 +248,7 @@ template<
class Handler>
class detect_ssl_op;
// Here is the implementation of the asynchronous initation function
// Here is the implementation of the asynchronous initiation function
template<
class AsyncReadStream,
class DynamicBuffer,
@ -337,7 +337,7 @@ public:
// The state for this operation is cheap to copy.
detect_ssl_op(detect_ssl_op const&) = default;
// The constructor just keeps references the callers varaibles.
// The constructor just keeps references the callers variables.
//
template<class DeducedHandler>
detect_ssl_op(

View File

@ -294,7 +294,7 @@ void do_server_head(
"SyncStream requirements not met");
static_assert(
boost::asio::is_dynamic_buffer<DynamicBuffer>::value,
"DynamicBuffer requirments not met");
"DynamicBuffer requirements not met");
// We deliver this payload for all GET requests
static std::string const payload = "Hello, world!";
@ -388,7 +388,7 @@ do_head_request(
"SyncStream requirements not met");
static_assert(
boost::asio::is_dynamic_buffer<DynamicBuffer>::value,
"DynamicBuffer requirments not met");
"DynamicBuffer requirements not met");
// The interfaces we are using are low level and do not
// perform any checking of arguments; so we do it here.
@ -505,7 +505,7 @@ relay(
if(ec)
return;
// Apply the caller's header tranformation
// Apply the caller's header transformation
transform(p.get(), ec);
if(ec)
return;

View File

@ -119,7 +119,7 @@ consume(std::size_t size)
else
{
// rewind the offset, so the next call to prepare
// can have a longer continguous segment. this helps
// can have a longer contiguous segment. this helps
// algorithms optimized for larger buffesr.
in_off_ = 0;
in_size_ = 0;

View File

@ -110,7 +110,7 @@ public:
/** Move bytes from the output sequence to the input sequence.
@param size The nubmer of bytes to commit. If this is greater
@param size The number of bytes to commit. If this is greater
than the size of the output sequence, the entire output
sequence is committed.
*/

View File

@ -428,7 +428,7 @@ public:
// This function is called when writing is complete.
// It is an opportunity to perform any final actions
// which might fail, in order to return an error code.
// Operations that might fail should not be attemped in
// Operations that might fail should not be attempted in
// destructors, since an exception thrown from there
// would terminate the program.
//

View File

@ -24,7 +24,7 @@ namespace http {
This body uses @ref span as a memory-based container for
holding message payloads. The container represents a
non-owning reference to a continguous area of memory.
non-owning reference to a contiguous area of memory.
Messages using this body type may be serialized and
parsed.

View File

@ -571,7 +571,7 @@ public:
);
@endcode
The implementation type-erases the callback which may require
a dynamic allocation. To prevent the possiblity of a dynamic
a dynamic allocation. To prevent the possibility of a dynamic
allocation, use `std::ref` to wrap the callback.
If the read operation which receives the control frame is
an asynchronous operation, the callback will be invoked using

View File

@ -43,7 +43,7 @@ public:
The argument string is available to suites and
allows for customization of the test. Each suite
defines its own syntax for the argumnet string.
defines its own syntax for the argument string.
The same argument is passed to all suites.
*/
void

View File

@ -7,6 +7,6 @@
// Official repository: https://github.com/boostorg/beast
//
// Make sure symbols don't confict with ZLib
// Make sure symbols don't conflict with ZLib
#include "zlib-1.2.11/zlib.h"
#include <boost/beast/zlib.hpp>