Vinnie Falco
60a3221f0b
Fix chunk delimiter parsing
2017-07-20 08:12:18 -07:00
Vinnie Falco
96131eb243
Add missing handler_alloc nested types
...
fix #432
2017-07-20 08:12:18 -07:00
Vinnie Falco
1ae344f80b
Tidy up message javadoc
2017-07-20 08:12:18 -07:00
Vinnie Falco
7d89fdc46f
Remove obsolete serializer allocator (API Change)
2017-07-20 08:12:18 -07:00
Vinnie Falco
aa752e4dce
Remove message free functions (API Change)
2017-07-20 08:12:18 -07:00
Vinnie Falco
3340666ad3
Remove message connection settings (API Change)
2017-07-20 08:12:18 -07:00
Vinnie Falco
80ca9a5961
Body documentation work
2017-07-20 08:12:18 -07:00
Vinnie Falco
943830f6ed
Fields concept work
2017-07-20 08:12:18 -07:00
Vinnie Falco
f363654300
Tidy up basic_fields, header, and concepts
2017-07-20 08:12:18 -07:00
Vinnie Falco
fb2f777b4d
Use field in basic_parser
2017-07-20 08:12:18 -07:00
Vinnie Falco
ca25eee0dd
Use field in basic_fields and call sites
2017-07-20 08:12:18 -07:00
Vinnie Falco
d5f22adeca
Documentation reference tidy
2017-07-20 08:12:18 -07:00
Vinnie Falco
ace99bd6c0
Protect basic_fields special members (API Change)
2017-07-20 08:12:18 -07:00
Vinnie Falco
3eb1d1025b
Fix basic_fields allocator awareness
2017-07-20 08:12:18 -07:00
Vinnie Falco
67df48daa6
Documentation work
2017-07-20 08:12:18 -07:00
Vinnie Falco
2df6783468
Refactor prepare (API Change)
2017-07-20 08:12:18 -07:00
Vinnie Falco
2af19481a9
Derive header from Fields (API Change)
2017-07-20 08:12:18 -07:00
Vinnie Falco
5f2e7560b6
Use allocator more in basic_fields
...
Fix #392
2017-07-20 08:12:18 -07:00
Vinnie Falco
ff216a89a8
Add verb to on_request for parsers (API Change)
2017-07-20 08:12:18 -07:00
Vinnie Falco
1c063f5bf6
Add field enumeration
2017-07-20 08:12:18 -07:00
Vinnie Falco
f3bec70e65
Documentation fixes
2017-07-20 08:12:18 -07:00
Vinnie Falco
9f7abcbe2d
Remove header_parser (API Change)
2017-07-20 08:12:18 -07:00
Vinnie Falco
fa28cba515
parser is constructible from other body types
2017-07-20 08:12:18 -07:00
Vinnie Falco
17eaae9ce0
Documentation work (buffer_body)
2017-07-20 08:12:18 -07:00
Vinnie Falco
f62900df24
Set version to 49
2017-07-20 08:12:18 -07:00
Vinnie Falco
4b866cea36
Documentation work
2017-07-20 08:12:18 -07:00
Vinnie Falco
b38f8260b8
Add HEAD request example
2017-07-20 08:12:18 -07:00
Vinnie Falco
12c7c24e5a
Use <iosfwd> instead of <ostream>
2017-07-20 08:12:18 -07:00
Vinnie Falco
3803c38dbd
Refactor header status, reason, and target (API Change):
...
* header::result is a family of functions to replace header::status
* header interface now uses status enum and also ints
* reason-phrase is no longer stored unless the user explicitly
requests it.
* When serializing, the standard reason is used for the
corresponding status code unless the user has changed it.
2017-07-20 08:12:18 -07:00
Vinnie Falco
4f91e632bc
Tidy up empty_body writer error
2017-07-20 08:12:18 -07:00
Vinnie Falco
aa2c915c96
Canonicalize string_view parameter types
2017-07-20 08:12:18 -07:00
Vinnie Falco
048ee7523c
Refactor method and verb (API Change):
...
The verb interfaces now use verb::unknown instead of
boost::optional<verb> == boost::none to indicate that
the request-method is an unrecognized string.
The http::header interface is modified to focus more on the
verb enum rather than the string. For recognized verbs, the
implementation stores an integer instead of the string.
Unknown verbs are still stored as strings.
* header::method now returns a verb
* header::method_string returns the method text
2017-07-20 08:12:18 -07:00
Vinnie Falco
d3049fa03b
Documentation work
2017-07-20 08:12:18 -07:00
Vinnie Falco
8b3be190fe
Set version to 48
2017-07-20 08:12:18 -07:00
Vinnie Falco
5c46845208
Documentation work
2017-07-20 08:12:18 -07:00
Vinnie Falco
8a22350119
Tidy up traits
...
fix #406
2017-07-20 08:12:18 -07:00
Vinnie Falco
4b158e45ba
Remove detail::sync_ostream
...
fix #418
2017-07-20 08:12:18 -07:00
Vinnie Falco
78d9e3bbce
Documentation work
2017-07-20 08:12:18 -07:00
Vinnie Falco
00667f3cf2
Rename to parser (API Change):
...
* message_parser is renamed to parser
2017-07-20 08:12:18 -07:00
Vinnie Falco
88600beab0
Consolidate parsers to parser.hpp
...
fix #405
2017-07-20 08:12:18 -07:00
Vinnie Falco
86ce017ffe
Documentation work
2017-07-20 08:12:18 -07:00
Vinnie Falco
9ab9f09189
Make buffer_prefix_view public
...
fix #408
2017-07-20 08:12:18 -07:00
Vinnie Falco
982d20001f
Rename to buffer_cat_view (API Change)
...
fix #408
2017-07-20 08:12:18 -07:00
Vinnie Falco
2141fabcf9
Tidy up chunk decorator (API Change):
...
* Rename to no_chunk_decorator
* Decorator no longer has to append "\r\n" to the returned string
2017-07-20 08:12:18 -07:00
Vinnie Falco
38e9b16f75
Set version to 47
2017-07-20 08:12:17 -07:00
Vinnie Falco
23dfc04202
Documentation work
2017-07-20 08:12:17 -07:00
Vinnie Falco
afab639532
Fix leak in basic_flat_buffer
2017-07-20 08:12:17 -07:00
Vinnie Falco
a38a9adbe1
Fix undefined behavior in pausation
2017-07-20 08:12:17 -07:00
Vinnie Falco
02d5aedc29
Refactor HTTP serialization and parsing (API Change):
...
fix #404
Parsing and serialization interfaces have been fine tuned and unified.
For parsing these stream operations are defined:
* read
* read_header
* read_some
* async_read
* async_read_header
* async_read_some
For serialization these stream operations are defined:
* write
* write_header
* write_some
* async_write
* async_write_header
* async_write_some
2017-07-20 08:12:17 -07:00
Vinnie Falco
b76eb2864e
buffer_size overload for basic_multi_buffer::const_buffers_type
2017-07-20 08:12:17 -07:00