mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
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:
@ -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
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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`.
|
||||
|
@ -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(
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user