]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/beast/CHANGELOG.md
bump version to 18.2.2-pve1
[ceph.git] / ceph / src / boost / libs / beast / CHANGELOG.md
1 Version 330:
2
3 * Update release notes for Boost 1.79.
4
5 --------------------------------------------------------------------------------
6
7 Version 329:
8
9 * Add missing include in `file_body` test.
10
11 --------------------------------------------------------------------------------
12
13 Version 328:
14
15 * Add ARM64 builds to Drone CI.
16
17 --------------------------------------------------------------------------------
18
19 Version 327:
20
21 * Fix async_base documentation link.
22
23 --------------------------------------------------------------------------------
24
25 Version 326:
26
27 * Remove GitHub stalebot.
28
29 --------------------------------------------------------------------------------
30
31 Version 325:
32
33 * WebSocket handshake response is deterministic on failure.
34
35 --------------------------------------------------------------------------------
36
37 Version 324:
38
39 * Fix open append mode for file_posix.
40 * Fix open append mode for file_win32.
41 * Add tests for file open in append mode.
42 * Fix file open with append/append_existing flag on Windows.
43
44 --------------------------------------------------------------------------------
45
46 Version 323:
47
48 * Fix clang-cl UTF8 path handling for `file_win32`.
49 * Fix clang-cl UTF8 path handling for `file_stdio`.
50 * Add individual tests to CMake workflow.
51 * Update CI to include gcc 11, clang 12, msvc 14.3.
52 * Update code coverage settings.
53
54 --------------------------------------------------------------------------------
55
56 Version 322:
57
58 * Fix typo in `_experimental::test::basic_stream` documentation.
59
60 --------------------------------------------------------------------------------
61
62 Version 321:
63
64 * Remove test framework's dependency on RTTI.
65 * Fix CVE-2016-9840 in zlib implementation.
66 * Fix TLS SNI handling in websocket_client_async_ssl example.
67 * Fix reuse of sliding window in WebSocket permessage_deflate.
68 * Fix accept error handling in http_server_async example.
69 * Move library-specific docca configuration to Beast.
70 * Remove dependency on RTTI in `test::stream`.
71
72 --------------------------------------------------------------------------------
73
74 Version 320:
75
76 * Fix missing includes in `stream_state`.
77 * Update GitHub Actions CI.
78
79 --------------------------------------------------------------------------------
80
81 Version 319:
82
83 * Update release notes for Boost 1.77.
84
85 --------------------------------------------------------------------------------
86
87 Version 318:
88
89 * Add a Boost-friendly subproject case to CMakeLists.
90 * Remove use of POSIX-only constant.
91
92 --------------------------------------------------------------------------------
93
94 Version 317:
95
96 * Remove travis CI.
97 * Fix Drone CI script.
98 * Add example of reading large response body.
99
100 --------------------------------------------------------------------------------
101
102 Version 316:
103
104 * Disable GHA CI for clang-9.
105 * Update example root certificates.
106
107 --------------------------------------------------------------------------------
108
109 Version 315:
110
111 * Documentation uses docca jam module.
112
113 --------------------------------------------------------------------------------
114
115 Version 314:
116
117 * WebSocket test is deterministic.
118 * Add missing compilers to GHA script.
119
120 --------------------------------------------------------------------------------
121
122 Version 313:
123
124 * Fix incorrect websocket test ordering.
125 * Fix missing check for error code after header is parsed.
126 * Fix case where inflated content is larger than the out buffer.
127
128 --------------------------------------------------------------------------------
129
130 Version 312:
131
132 * Enable Github Actions CI.
133
134 --------------------------------------------------------------------------------
135
136 Version 311:
137
138 * Fix warning in http-server-fast.
139 * Parenthesise all uses of min() and max().
140 * Extend Drone MSVC tests.
141 * Fix MSVC build error.
142
143 --------------------------------------------------------------------------------
144
145 Version 310:
146
147 * Update Release Notes.
148
149 --------------------------------------------------------------------------------
150
151 Version 309:
152
153 * Extra logic error detection in http parser.
154 * Move Windows CI to Drone.
155
156 --------------------------------------------------------------------------------
157
158 Version 308:
159
160 * Fix compiler warning in WebSSocket async shutdown.
161 * Remove Travis CI status.
162 * Repoint B2 refs to new non-boostorg home.
163 * Limit async_write instantiations in websocket ops.
164 * Add Drone CI status.
165
166 --------------------------------------------------------------------------------
167
168 Version 307:
169
170 * Add executor rebind to test::stream.
171 * Remove floating point arithmetic requirement.
172 * Add `cxxstd` to json field.
173
174 --------------------------------------------------------------------------------
175
176 Version 306:
177
178 * Revert removal of lowest_layer_type from test stream.
179
180 --------------------------------------------------------------------------------
181
182 Version 305:
183
184 * Fix documentation build.
185
186 --------------------------------------------------------------------------------
187
188 Version 304:
189
190 * Fix C++20 coroutine tests.
191 * Fix links to Bishop Fox Security Assessment.
192
193 --------------------------------------------------------------------------------
194
195 Version 303:
196
197 * Add Bishop Fox Security Assessment.
198
199 --------------------------------------------------------------------------------
200
201 Version 302:
202
203 * Fix assert when basic_stream used as underlying of ssl::stream with zero-length write.
204 * Add Sec-* HTTP headers.
205 * Fix nullptr implicit cast on `fields::set()`.
206
207 --------------------------------------------------------------------------------
208
209 Version 301:
210
211 * Fix Travis CI bug.
212 * Fix erroneous error when HTTP `body_limit` is `none`.
213 * Fix unreachable code warning with MSVC.
214 * Fix logic error in advance_server_flex.
215 * Fix file open with append_existing flag on posix.
216 * Websocket SSL `teardown` also tears down underlying TCP.
217 * Update WebSocket examples to set TLS SNI.
218 * Add handler tracking locations to websocket.
219 * Add handler tracking locations to tcp teardown.
220 * Eliminate spurious uninitialised variable warning in detect_ssl.
221 * Add handler tracking locations to flat_stream.
222 * Add handler tracking locations to detect_ssl.
223 * Add handler tracking locations to icy_stream.
224 * Add handler tracking locations to basic_stream.
225 * Add handler tracking locations to http operations.
226
227 API Changes:
228
229 * Previously, `teardown` and `async_teardown` of a websocket connection over SSL
230 would only shut down the SSL layer, leaving the TCP layer connected. Now the
231 SSL teardown will tear down both the SSL and TCP layers, cleanly shutting down
232 the TCP connection and closing the socket.
233 Should the client expect the TCP socket to remain connected, users will need to
234 re-engineer their code.
235
236 --------------------------------------------------------------------------------
237
238 Version 300:
239
240 * Fix compile errors under Clang 3.4
241 * Fix portability bug in websocket server sync example.
242
243 --------------------------------------------------------------------------------
244
245 Version 299:
246
247 * Fix race in http-crawl example.
248
249 --------------------------------------------------------------------------------
250
251 Version 298:
252
253 * Support BOOST_ASIO_NO_TS_EXECUTORS.
254 * Use strand<> rather than legacy executor io_context::strand.
255 * Use dispatch/post free functions to be independent of executor concept.
256 * New name for polymorphic executor. Trait for detecting new executors.
257 * Handler invoke and allocation hooks are deprecated.
258
259 --------------------------------------------------------------------------------
260
261 Version 297:
262
263 * iless and iequal take part in Heterogeneous Lookup
264 * Fix `max` compile error
265 * Deprecate `string_param` (API Change)
266
267 API Changes:
268
269 * `string_param`, which was previously the argument type when setting field values
270 has been replaced by `string_view`. Because of this, it is no longer possible to
271 set message field values directly as integrals.
272
273 Users are required to convert numeric arguments to a string type prior to calling
274 `fields::set` et. al.
275
276 Beast provides the non-allocating `to_static_string()` function for this purpose.
277
278 To set Content-Length field manually, call `message::content_length`.
279
280 --------------------------------------------------------------------------------
281
282 Version 296:
283
284 * Remove buffers_adapter.hpp (API Change)
285 * Remove zlib error `invalid_code_lenths`(sic) (API Change)
286 * Remove `core/type_traits.hpp` (API Change)
287 * Remove `reset` function from `flat_static_buffer` (API Change)
288 * Remove `mutable_data_type` from Dyanmic Buffers (API Change)
289 * Remove deprecated lowest_layer from test::stream
290 * Remove handler_pointer (API Change)
291 * Remove websocket::role_type (API Change)
292 * Remove accept_ex and handshake_ex variants (API Change)
293 * Rename to BOOST_BEAST_ALLOW_DEPRECATED (API Change)
294
295 API Changes:
296
297 * The file `core/buffers_adapter.hpp` has been removed along with the deprecated
298 alias typename `buffers_adapter`. Affected programs should use
299 `core/buffers_adapator.hpp` and the type `buffers_adaptor`.
300
301 * The error code enum `invalid_code_lenths` was a synonym of `invalid_code_lengths`.
302 Affected programs should be modified to use `invalid_code_lengths`.
303
304 * The `core/type_traits.hpp` public header has been removed and along with it
305 the type trait `is_completion_handler`. Beast uses the CompletionHandler correctness
306 checks provided by Asio. In a c++20 environment, these convert to concept checks.
307
308 * The `reset` function has been removed from `flat_static_buffer`. Use the
309 `clear` function instead.
310
311 * Code that depends on `mutable_data_type` should be refactored to use
312 `mutable_buffers_type`. Classes affected are:
313 - `buffers_adaptor`
314 - `flat_buffer`
315 - `flat_static_buffer`
316 - `multi_buffer`
317 - `static_buffer`
318
319 * handler_ptr has been removed. Users should use net::bind_handler and/or
320 bind_front_handler instead.
321
322 * websocket::role_type has been removed. Users should use beast::role_type instead.
323
324 * The following deprecated functions have been removed:
325 - websocket::async_accept_ex
326 - websocket::async_handshake_ex
327 - websocket::accept_ex
328 - websocket::handshake_ex
329
330 Programs still using these names should be refactored to use the `decorator` feature and
331 the remaining handshake and accept functions.
332
333 * The macro BOOST_BEAST_NO_DEPRECATED will no longer be noticed by Beast. The only way to
334 enable deprecated functionality is now the macro BOOST_BEAST_ALLOW_DEPRECATED which is
335 undefined by default. That is, all deprecated behaviour is disabled by default.
336
337 --------------------------------------------------------------------------------
338
339 Version 295:
340
341 * Parser body_limit is optional (API Change)
342 * Fix basic_stream expires_after (API Change)
343 * Fix FILE namespace qualification
344
345 API Changes:
346
347 * The signature of basic_parser<>::body_limit(n) has changed. It now accepts an
348 optional std::uint64_t. The caller may indicate that no body limit is required
349 by calling body_limit(boost::none). The default limits remain in place in order
350 to maintain 'safe by default' behaviour.
351
352 * basic_stream::expires_after used to take a nanosecond duration type argument. This
353 required users on systems where the steady_clock::duration_type was less accurate
354 to explicity duration_cast when calling this function, making code non-portable.
355 The duration type is now that of the embedded steady_clock.
356
357 --------------------------------------------------------------------------------
358
359 Version 294:
360
361 * Fix FILE namespace qualification
362 * Fix http read bytes_transferred (API Change)
363
364 API Changes:
365
366 The following functions did not previously report the number of bytes consumed
367 by the HTTP parser:
368
369 - http::read
370 - http::read_header
371 - http::read_some
372 - http::async_read
373 - http::async_read_header
374 - http::async_read_some
375
376 As of now, the `bytes_transferred` return value will indicate the number of bytes
377 consumed by the parser when parsing an http message.
378
379 Actions Required:
380
381 - Modify calling code which depends on the value returned from these functions.
382
383 --------------------------------------------------------------------------------
384
385 Version 293:
386
387 * Fix async_connect documentation
388 * Fix assert in websocket
389 * No automatic User-Agent in WebSocket
390
391 Behaviour Changes:
392
393 * No automatic User-Agent in WebSocket
394 Beast websocket streams will no longer automatically set the
395 User-Agent HTTP header during client handshake. This header is not required
396 by the WebSocket standard. If this field is required, user code may set it
397 in the decorator
398
399 --------------------------------------------------------------------------------
400
401 Version 292:
402
403 * Fix compile errors on Visual Studio with /std:c++latest
404 * Fix standalone compilation error with std::string_view
405 * OpenSSL 1.0.2 or later is required
406 * Fix c++20 deprecation warning in span_body
407
408 --------------------------------------------------------------------------------
409
410 Version 291:
411
412 * Test websocket with use_awaitable
413 * Test http write with use_awaitable
414 * Test http read with use_awaitable
415 * Fix use buffered_read_stream with use_awaitable
416 * Implement is_completion_token_for trait
417 * Test use_awaitable with basic_stream
418 * Fix async_detect_ssl with use_awaitable
419 * Add clang coroutines-ts to circleci config
420
421 --------------------------------------------------------------------------------
422
423 Version 290:
424
425 * Travis build host now bionic
426 * Update Release Notes
427
428 Version 289:
429
430 * Fix Host header in websocket examples
431
432 --------------------------------------------------------------------------------
433
434 Version 288:
435
436 * Fix Content-Length parsing
437 * Update credits
438
439 --------------------------------------------------------------------------------
440
441 Version 287:
442
443 * Remove CODE_OF_CONDUCT.md
444 * Refactor websocket read
445 * Correct buffer_bytes documentation
446 * Fix examples to dispatch to strand
447 * Ensure basic_stream::close will not throw
448
449 --------------------------------------------------------------------------------
450
451 Version 286:
452
453 * Refactor multi_buffer
454 * Refactor buffers_adapter
455 * Refactor static_buffer
456 * Refactor flat_buffer
457 * Refactor flat_static_buffer
458 * Fix missing include in sha1.hpp
459 * Fix ostream warning
460 * Field digest is endian-independent
461 * update broken links in README
462 * Fix ostream flush
463
464 API Changes:
465
466 * Nested const and mutable buffer types for all
467 Beast dynamic buffers are refactored. Affected types:
468 - buffers_adapter
469 - flat_buffer
470 - flat_static_buffer
471 - multi_buffer
472 - static_buffer
473
474 * Nested mutable_data_type in Beast dynamic buffers is deprecated:
475
476 Changes Required:
477
478 * Use nested mutable_buffers_type instead of mutable_data_type,
479 or define BOOST_BEAST_ALLOW_DEPRECATED
480
481 --------------------------------------------------------------------------------
482
483 Version 285:
484
485 * Translate some win32 errors to net error codes
486 * enable circleci integration
487 * flat_buffer shrink_to_fit is noexcept
488 * moved-from dynamic buffers do not clear if different allocator
489 * fix erase field
490
491 --------------------------------------------------------------------------------
492
493 Version 284:
494
495 * fix compilation macro documentation
496 * examples use strands correctly
497 * update root certificates in examples
498 * clarify end-of-file behaviour in File::read docs
499 * file_body returns short_read on eof during read
500 * fix bug in win32 file_body
501
502 --------------------------------------------------------------------------------
503
504 Version 283:
505
506 * ostream_buffer satisfies preconditions of DynamicBuffer_v1::commit
507 * Add accessor function to File member of basic_file_body
508
509 Version 282:
510
511 * Use superproject docca
512 * Fix release build of docs
513 * file_win32 supports UTF-8 paths
514 * file_stdio supports unicode paths
515
516 --------------------------------------------------------------------------------
517
518 Version 281:
519
520 * Travis builds docs
521 * Fix echo-op test
522 * file_win32 bodies respect http::serializer::split
523
524 --------------------------------------------------------------------------------
525
526 Version 280:
527
528 * Fix non-msvc cmake
529 * Use docca master branch
530
531 --------------------------------------------------------------------------------
532
533 Version 279:
534
535 * Use regular throw in test
536 * Fix pragma warning
537
538 --------------------------------------------------------------------------------
539
540 Version 278:
541
542 * Use regular throw in test
543
544 --------------------------------------------------------------------------------
545
546 Version 277:
547
548 * Update release notes
549
550 --------------------------------------------------------------------------------
551
552 Version 276:
553
554 * https_get example sends the Host header
555 * Fix async_close error code when async_read times out
556 * Refactor zlib tests and fix enum typo
557
558 --------------------------------------------------------------------------------
559
560 Version 275:
561
562 * Async init-fns use the executor's default token
563 * Add basic_stream::rebind_executor
564 * Use automatically deduced return types for all async operations
565 * Support Concepts for completion token params
566
567 --------------------------------------------------------------------------------
568
569 Version 274:
570
571 * Fix leftovers in basic_parser corner case
572
573 --------------------------------------------------------------------------------
574
575 Version 273:
576
577 * Squelch spurious websocket timer assert
578 * Use the executor type in basic_stream timer
579
580 --------------------------------------------------------------------------------
581
582 Version 272:
583
584 * Add BEAST_THROWS
585 * Add zlib tests and fixes
586
587 --------------------------------------------------------------------------------
588
589 Version 271:
590
591 * Add HTTP async client with system_executor example
592 * Add WebSocket async client with system_executor example
593 * Fix data race in HTTP server examples
594 * Fix data race in WebSocket examples
595
596 --------------------------------------------------------------------------------
597
598 Version 270:
599
600 * Silence unused variables
601 * Fix typo
602
603 --------------------------------------------------------------------------------
604
605 Version 269:
606
607 * Fix /permissive- missing include
608 * Add test
609
610 --------------------------------------------------------------------------------
611
612 Version 268:
613
614 * root_certificates.hpp is not for production
615
616 --------------------------------------------------------------------------------
617
618 Version 267:
619
620 * Add package for Travis config
621 * Fix signed/unsigned mismatch in file_stdio::seek
622 * basic_stream dtor cannot throw
623 * cmake: check policy first
624 * Add default dtors to satisfy -Wnon-virtual-dtor
625 * Multiple I/O of the same type is not supported
626
627 --------------------------------------------------------------------------------
628
629 Version 266:
630
631 * Fix some missing deduced return types in the docs
632
633 --------------------------------------------------------------------------------
634
635 Version 265:
636
637 * Fix outgoing websocket message compression
638
639 --------------------------------------------------------------------------------
640
641 Version 264:
642
643 * Handle overflow in max size calculation in `basic_dynamic_body`
644 * Fix unused variable warnings in tests
645 * Fix missing initializer warning in `basic_fields`
646 * Remove unused functions in `impl/static_string.hpp`
647 * Fix unused variable warning in `multi_buffer`
648 * Fix header-only compilation errors in some configurations
649 * Workaround for miscompilation in MSVC 14.2
650
651 --------------------------------------------------------------------------------
652
653 Version 263:
654
655 * Update documentation
656
657 --------------------------------------------------------------------------------
658
659 Version 262:
660
661 * Fix deallocate in multi_buffer
662
663 --------------------------------------------------------------------------------
664
665 Version 261:
666
667 * Deduplicate `websocket::read_size_hint` definition
668 * Fix UB in websocket read tests
669 * Remove redundant includes in websocket
670 * Simplify websocket::detail::prng
671 * Don't over-allocate in http::basic_fields
672 * Fix multi_buffer allocation alignment
673 * Tidy up buffers_range
674
675 --------------------------------------------------------------------------------
676
677 Version 260:
678
679 * More split compilation in rfc7230.hpp
680 * Qualify calls to `beast::iequals` in basic_parser.ipp
681 * More split compilation in websocket/detail/mask.hpp
682 * Cleanup transitive includes in beast/core/detail/type_traits.hpp
683 * Simplify generation of sec-websocket-key
684 * Move detail::base64 helpers to tests
685 * Remove redundant includes in core
686
687 --------------------------------------------------------------------------------
688
689 Version 259:
690
691 * Reduce the number of instantiations of filter_token_list
692 * Remove the use of `static_string` from `http::fields`
693 * Add gcc-9 to AzP CI test matrix
694 * Enable split compilation in http::basic_fields
695 * Remove redundant instation of `static_string` in websocket
696 * Remove redundant use of `asio::coroutine` in `flat_stream`
697 * Remove unused includes from `test::stream`
698 * Move `char_buffer` into a separate file
699 * Fix coverage collection in AzP CI
700 * Improve performance of `http::string_to_verb`
701 * Replace uses of `net::coroutine` with `asio::coroutine`
702 * Replace uses of `net::spawn` with `asio::spawn`
703 * Use `beast::read_size` in `detail::read`
704
705 --------------------------------------------------------------------------------
706
707 Version 258:
708
709 * Fix separate compilation in CI
710 * Fix clang inititalization warning in websocket
711 * Remove redundant use of `yield_to` in parser tests
712 * Add VS 2019 AzP CI matrix item
713 * Clean up typo in chat websocket javascript client
714
715 --------------------------------------------------------------------------------
716
717 Version 257:
718
719 * Add b2 features for compile-time options used in testing
720 * Remove redundant dependencies in http/server/fast example
721 * Remove experimental/unit_test/thread.hpp
722 * Use `if` statement in basic_stream::transfer_op
723 * Fix flat_buffer copy members
724
725 --------------------------------------------------------------------------------
726
727 Version 256:
728
729 * Remove uses of the deprecated `buffers` function
730 * Remove uses of deprecated methods in websocket tests
731 * Remove redundant use of `static_string`
732 * Remove redundant template in service_base
733 * Expand CI matrix using Azure Pipelines
734 * Make chat websocket javascript client more user friendly
735 * `allocator_traits::construct` is used for user-defined types
736 * Add 1-element specialization for `buffers_cat`
737 * Fix `buffers_cat` iterator tests
738 * Don't pessimize-move
739 * Use steady_timer type
740 * Preserve operation_aborted on partial message
741
742 --------------------------------------------------------------------------------
743
744 Version 255:
745
746 * Add idle ping suspend test
747 * Fix moved-from executor in idle ping timeout
748
749 --------------------------------------------------------------------------------
750
751 Version 254:
752
753 * Fix data race in test::stream::connect
754 * Fix UB in websocket close tests
755 * Fix uninitalized memory use in deflate_stream
756 * Fix gcc-8 warning in websocket::stream
757
758 --------------------------------------------------------------------------------
759
760 Version 253:
761
762 * Fix async_detect_ssl handler type
763 * member get_executor const-correctness
764 * Fix min/max on MSVC
765 * Relax requirements for vector_body
766
767 --------------------------------------------------------------------------------
768
769 Version 252:
770
771 * More std::string_view fixes
772 * CI copies to libs/beast
773
774 --------------------------------------------------------------------------------
775
776 Version 251:
777
778 * Clean up CI scripts
779 * detect_ssl uses bool
780 * launder pointers
781 * Fix compilation on MSVC with std::string_view
782 * Replace static_string in parser
783
784 --------------------------------------------------------------------------------
785
786 Version 250:
787
788 * Use SaxonHE in reference generation
789 * Cleanup endianness conversions
790 * Set parser status and flags even if body_limit_ has been reached
791
792 --------------------------------------------------------------------------------
793
794 Version 249:
795
796 * Move friend function template definition
797
798 --------------------------------------------------------------------------------
799
800 Version 248:
801
802 * Don't use a moved-from handler
803
804 --------------------------------------------------------------------------------
805
806 Version 247:
807
808 * Fix async_base immediate completion
809
810 --------------------------------------------------------------------------------
811
812 Version 246:
813
814 * decorator ctor is explicit
815
816 --------------------------------------------------------------------------------
817
818 Version 245:
819
820 * decorator constructor is constrained
821
822 --------------------------------------------------------------------------------
823
824 Version 244:
825
826 * Tidy up declval in some traits
827 * Fix websocket keep-alive ping expiration
828
829 --------------------------------------------------------------------------------
830
831 Version 243:
832
833 * Fix some typos
834 * Tidy up file_stdio for VS2015
835 * Fix http::message constructor constraint
836
837 --------------------------------------------------------------------------------
838
839 Version 242:
840
841 * test::stream has deprecated lowest_layer for ssl
842 * MSVC uses ::fopen_s
843 * Fix http::message constructor constraint
844 * Check defined(BOOST_MSVC)
845
846 --------------------------------------------------------------------------------
847
848 Version 241:
849
850 * Tidy up a doc code snippet
851 * basic_parser::content_length is stable (API Change)
852
853 --------------------------------------------------------------------------------
854
855 Version 240:
856
857 * Fix ssl_stream teardown
858
859 --------------------------------------------------------------------------------
860
861 Version 239:
862
863 * More split compilation in HTTP
864
865 --------------------------------------------------------------------------------
866
867 Version 238:
868
869 * Refactor Jamfiles to work with release layout
870
871 --------------------------------------------------------------------------------
872
873 Version 237:
874
875 * cmake: Use static libs to speed up builds
876
877 --------------------------------------------------------------------------------
878
879 Version 236:
880
881 * root_certificates.hpp: brought in the server certificate
882
883 --------------------------------------------------------------------------------
884
885 Version 235:
886
887 * Fix self-assignment warning in buffer test
888 * Jamfile cleanup
889
890 --------------------------------------------------------------------------------
891
892 Version 234:
893
894 * Don't link to OpenSSL needlessly (bjam)
895 * HTTPS URLs in README.md
896
897 --------------------------------------------------------------------------------
898
899 Version 233:
900
901 * Check __ANDROID__ instead
902 * Use secure TLS/SSL versions
903
904 --------------------------------------------------------------------------------
905
906 Version 232:
907
908 * Fix close_socket for net::basic_socket changes
909 * Fix file_win32_write_op async initiation
910 * Fix basic_stream lowest_layer for ssl
911
912 --------------------------------------------------------------------------------
913
914 Version 231:
915
916 * Doc section names are stable
917 * Add missing include
918 * Constrain to_static_string to integers
919
920 --------------------------------------------------------------------------------
921
922 Version 230:
923
924 * Don't use dynamic_buffer_ref
925 * Remove dynamic_buffer_ref
926 * Fix completion handler invocation signatures
927
928 --------------------------------------------------------------------------------
929
930 Version 229:
931
932 * Rename to buffer_bytes
933 * Tidy up examples
934 * detect_ssl returns a bool
935 * Fix stable_async_base example
936
937 API Changes:
938
939 * handler_ptr is deprecated
940
941 Actions Required:
942
943 * Replace use of `handler_ptr` with `stable_async_base`
944 and `allocate_stable`.
945
946 --------------------------------------------------------------------------------
947
948 Version 228:
949
950 * Fix UB in decorator:
951 * Sync up convenience headers
952 * The Fields concept is deprecated (API Change)
953 * Fix includes.xsl for newer doxygen
954 * Tidy up quick reference
955 * SSL teardowns are in an associated namespace
956
957 --------------------------------------------------------------------------------
958
959 Version 227:
960
961 * Fix decorator for certain sizes
962
963 --------------------------------------------------------------------------------
964
965 Version 226:
966
967 * Support -fno-exceptions
968 * make_strand is in net::
969 * Fix HTTP parser static string calculation
970 * Move parser definitions to .ipp
971 * Appveyor uses msvc-14.0
972
973 --------------------------------------------------------------------------------
974
975 Version 225:
976
977 * Tidy up an unused function
978 * Fix wsload jamfile
979 * Examples use flat_buffer
980 * Remove session_alloc (API Change)
981
982 Actions Required:
983
984 * Don't use session_alloc
985
986 --------------------------------------------------------------------------------
987
988 Version 224:
989
990 * Remove extraneous error check in advanced-server-flex
991 * Advanced servers use HTTP parser interfaces for reading
992 * Reusing an HTTP parser returns an error
993
994 --------------------------------------------------------------------------------
995
996 Version 223:
997
998 * Add test::stream::service
999 * Add websocket service
1000 * Pausation abandoning test
1001 * Destroy abandoned websocket ops on shutdown
1002
1003 --------------------------------------------------------------------------------
1004
1005 Version 222:
1006
1007 * stream_base::timeout::suggested is a nested function
1008
1009 --------------------------------------------------------------------------------
1010
1011 Version 221:
1012
1013 * Rename to async_base, stable_async_base
1014 * role_type is in boost/beast/core/role.hpp (API Change)
1015 * Cleanup in test::stream internals
1016 * Pass references as pointers to async_initiate
1017
1018 Actions Required:
1019
1020 * Include <boost/beast/core/role.hpp> or
1021 define BOOST_BEAST_ALLOW_DEPRECATED=1
1022
1023 --------------------------------------------------------------------------------
1024
1025 Version 220:
1026
1027 * Documentation and release notes
1028
1029 --------------------------------------------------------------------------------
1030
1031 Version 219:
1032
1033 * More split definitions in test::stream
1034 * Visual Studio 2017 minimum requirement for Windows
1035 * Better treatment of SSL short reads
1036 * ssl_stream is a public interface
1037 * basic_parser is abstract, not CRTP (API Change)
1038 * OpenSSL is required for tests and examples
1039
1040 --------------------------------------------------------------------------------
1041
1042 Version 218:
1043
1044 * detect_ssl, async_detect_ssl are public interfaces
1045 * Add OpenSSL installation/setup instructions
1046 * Enable split Beast compilation for tests
1047
1048 --------------------------------------------------------------------------------
1049
1050 Version 217:
1051
1052 * websocket idle pings
1053 * RatePolicy documentation
1054 * Pass strand to async_accept
1055 * Fix file_body_win32
1056 * Use async_initiate
1057 * Check BOOST_NO_CXX11_THREAD_LOCAL
1058 * Fast prng is pcg
1059
1060 --------------------------------------------------------------------------------
1061
1062 Version 216:
1063
1064 * Refactor websocket::stream operations
1065 * Add websocket::stream timeouts
1066 * Use suggested timeouts in Websocket examples
1067 * Add make_strand
1068 * Add RatePolicy to basic_stream
1069 * Use async_initiate in basic_stream
1070 * basic_stream connects are members
1071 * Beast supports latest Asio changes (API Change)
1072 * WebSocket Decorator is a socket option (API Change)
1073 * Overloads of the following functions which accept a Decorator
1074 are deprecated:
1075 - accept, accept_ex
1076 - handshake, handshake_ex
1077 - async_accept, async_accept_ex
1078 - async_handshake, async_handshake_ex
1079
1080 Actions Required:
1081
1082 * Code which passes decorator to any `websocket::stream` member
1083 function should call `stream::set_option` instead with a newly
1084 constructed `stream_base::decorator` object containing the
1085 decorator. Alternatively, the macro `BOOST_BEAST_ALLOW_DEPRECATED`
1086 may be defined to 1.
1087
1088 * Fix compilation errors required by Asio changes
1089
1090 --------------------------------------------------------------------------------
1091
1092 Version 215:
1093
1094 * basic_stream uses boost::shared_ptr
1095 * Remove bind_back_handler
1096 * bind_front_handler works with member functions
1097 * Examples use bind_front_handler
1098 * Add experimental test/handler.hpp
1099 * Rename to async_op_base::invoke_now
1100 * Add async_op_base::invoke
1101 * Remove CppCon2018 example
1102 * Examples use ssl_stream
1103
1104 --------------------------------------------------------------------------------
1105
1106 Version 214:
1107
1108 * Handler binders use the associated allocator
1109 * Add detail::bind_continuation
1110 * Rewrite the echo-op example
1111
1112 --------------------------------------------------------------------------------
1113
1114 Version 213:
1115
1116 * Fix posix_file::close handling of EINTR
1117 * basic_stream subsumes stranded_stream:
1118 * Use timeouts in HTTP server examples
1119 * Use timeouts in HTTP client examples
1120 * Use tcp_stream in WebSocket client examples
1121 * Use tcp_stream in WebSocket server examples
1122 * Use tcp_stream, HTTP timeouts in advanced servers
1123
1124 --------------------------------------------------------------------------------
1125
1126 Version 212:
1127
1128 * dynamic_buffer_ref tests and tidy
1129 * flat_stream tests and tidy
1130 * stranded_socket tests and tidy
1131 * buffers_front tests
1132 * Improved websocket stream documentation
1133
1134 --------------------------------------------------------------------------------
1135
1136 Version 211:
1137
1138 * close_socket is in stream_traits.hpp
1139 * Improvements to test::stream
1140 * Add stranded_stream
1141 * Add flat_stream
1142 * flat_buffer::clear preserves capacity
1143 * multi_buffer::clear preserves capacity
1144 * Fixes to rfc7230
1145
1146 --------------------------------------------------------------------------------
1147
1148 Version 210:
1149
1150 * Tidy up read implementation
1151 * Fix stable_async_op_base javadoc
1152 * Better handling of stream timeouts
1153 * Add stream_traits.hpp
1154 * Add executor_type trait
1155 * Fix hexadecimal string conversion table
1156 * is_completion_handler, type_traits.hpp are deprecated
1157 * Fixes to test::stream::async_read
1158
1159 API Changes:
1160
1161 * Stream traits are now in stream_traits.hpp
1162 * `is_file` is now in file_base.hpp
1163 * is_completion_handler is deprecated
1164
1165 Actions Required:
1166
1167 * Include stream_traits.hpp as needed
1168 * Include file_base.hpp as needed
1169 * Use std::is_invocable instead of is_completion_handler
1170
1171 --------------------------------------------------------------------------------
1172
1173 Version 209:
1174
1175 * Faster http::string_to_field
1176 * async_echo supports move-only handlers
1177 * test::stream maintains a handler work guard
1178 * Qualify buffer_copy, don't qualify buffer_size
1179 * Add dynamic_buffer_ref
1180 * Refactor quickref.xml
1181 * Add buffer_size
1182
1183 --------------------------------------------------------------------------------
1184
1185 Version 208:
1186
1187 * Add get_lowest_layer free function
1188 * Add lowest_layer_type metafunction
1189 * Add close_socket, beast_close_socket customization
1190 * Doc work
1191
1192 --------------------------------------------------------------------------------
1193
1194 Version 207
1195
1196 * Send from the strand
1197 * Pass the correct handler in basic_timeout_stream
1198
1199 API Changes:
1200
1201 * lowest_layer is removed
1202
1203 Actions Required:
1204
1205 * Remove lowest_layer and lowest_layer_type from user-defined streams.
1206 * Use the get_lowest_layer free function and the lowest_layer_type trait
1207 as needed.
1208
1209 --------------------------------------------------------------------------------
1210
1211 Version 206
1212
1213 * Clear error codes idiomatically
1214 * websocket stream uses shared_ptr<impl_type>
1215 * Add websocket-chat-multi example
1216
1217 --------------------------------------------------------------------------------
1218
1219 Version 205
1220
1221 * Doc work
1222 * Add detail/soft_mutex.hpp
1223 * Add detail/prng.hpp
1224
1225 --------------------------------------------------------------------------------
1226
1227 Version 204
1228
1229 * Add basic_timeout_stream
1230 * Unit test macros use the global suite
1231 * Doc work
1232
1233 --------------------------------------------------------------------------------
1234
1235 Version 203
1236
1237 * Update networking refresher doc
1238 * Include error code in call to set_option
1239 * saved_handler is a public interface
1240 * Use new saved_handler in websocket
1241 * session_alloc is thread-safe
1242 * examples use flat_buffer
1243 * parse_until is not static
1244 * Boost.System is header-only
1245
1246 --------------------------------------------------------------------------------
1247
1248 Version 202
1249
1250 * Use cxxstd instead of cxxflags
1251 * Update coverage badge images
1252 * Tidy up basic_stream_socket docs
1253 * Refactor async_op_base
1254 * Use async_op_base
1255 * async_op_base is a public interface
1256 * Add tests for bind_back_handler
1257 * Add tests for async_op_base
1258
1259 --------------------------------------------------------------------------------
1260
1261 Version 201
1262
1263 * Decay bound arguments in handler wrapper parameters
1264 * Add bind_back_handler
1265 * Tidy up default-constructed iterators
1266 * Add core errors and conditions
1267 * New basic_stream_socket
1268
1269 --------------------------------------------------------------------------------
1270
1271 Version 200
1272
1273 * Don't include OpenSSL for core snippets
1274 * Tidy up msvc-14 workaround in multi_buffer
1275 * buffers_cat fixes and coverage
1276 * Refactor buffers_adaptor
1277 * Refactor buffers_range
1278 * Fix and refactor buffers_cat
1279 * Refactor buffers_prefix
1280 * Add const and mutable buffer sequence traits
1281 * Add buffers_iterator_type trait
1282 * Use new buffer traits, remove old unused traits
1283 * Optimize for size on buffers_cat preconditions
1284 * Refactor buffers_suffix
1285 * Tidy up flat_buffer tests
1286 * Fix ostream prepare calculation for low limits
1287 * Tidy up flat_static_buffer tests
1288 * Add more tests for dynamic buffers
1289 * Tidy up multi_buffer
1290 * Refactor ostream
1291 * Refactor static_buffer
1292 * HTTP tidying
1293 * Adjust static_asio lib options in Jamfile
1294 * Add type_traits tests
1295 * Add buffers_range_ref (replaces reference_wrapper parameter)
1296
1297 API Changes:
1298
1299 * buffers_adaptor replaces buffers_adapter (rename)
1300 * make_printable replaces buffers (rename)
1301 * Remove file_mode::append_new
1302
1303 Actions Required:
1304
1305 * Replace buffers_adapter.hpp with buffers_adaptor.hpp, and
1306 replace buffers_adapter with buffers_adaptor. Or, define
1307 BOOST_BEAST_ALLOW_DEPRECATED
1308
1309 * Replace call sites to use make_printable instead of buffers,
1310 and also include make_printable.hpp instead of ostream.hpp.
1311
1312 * Replace file_mode::append_new with file_mode::append
1313 or file_mode::append_existing instead of file_mode::append_new
1314
1315 --------------------------------------------------------------------------------
1316
1317 Version 199:
1318
1319 * Workarounds for msvc-14
1320 * Fix Appveyor badge links
1321
1322 --------------------------------------------------------------------------------
1323
1324 Version 198:
1325
1326 * flat_buffer improvements
1327 * multi_buffer improvements
1328 * static_buffer improvements
1329 * flat_static_buffer_improvements
1330 * saved_handler maintains a work_guard (websocket)
1331 * Add buffer_traits.hpp, buffers_type
1332 * Tidy up experimental files
1333 * Tidy up core files
1334 * Fix bind_handler, bind_front_handler
1335 * Improved handler bind wrapper tests
1336
1337 API Changes:
1338
1339 * Files return errc::bad_file_descriptor
1340 * flat_static_buffer::reset is deprecated
1341
1342 Actions Required:
1343
1344 * Callers checking for errc::invalid_argument from calls to
1345 file APIs should check for errc::bad_file_descriptor instead.
1346
1347 * Replace calls to flat_static_buffer::reset with
1348 flat_static_buffer::clear
1349
1350 --------------------------------------------------------------------------------
1351
1352 Version 197:
1353
1354 * Improvements to echo-op example
1355 * Crawler example clears the response before each read
1356 * Use a struct instead of a pair in flat_stream (experimental)
1357
1358 API Changes:
1359
1360 * Refactor HTTP operations
1361
1362 Actions Required:
1363
1364 * Callers depending on the return value of http::read or
1365 http::async_read overloads should adjust the usage of
1366 the returned value as needed.
1367
1368 --------------------------------------------------------------------------------
1369
1370 Version 196:
1371
1372 * Tidy up calls to placement new
1373 * Remove unused type_traits
1374 * Simplify handler_ptr
1375
1376 --------------------------------------------------------------------------------
1377
1378 Version 195:
1379
1380 * net is a namespace alias for boost::asio
1381 * Simplify multi_buffer and static_buffer sequences
1382 * Documentation work
1383
1384 --------------------------------------------------------------------------------
1385
1386 Version 194:
1387
1388 * http::async_read returns the right byte count on error
1389 * Add net namespace alias
1390 * Don't use-after-free in test
1391 * Tidy up ssl_stream (experimental)
1392 * Dynamic buffer improvements
1393 * Saved handlers are dispatched
1394
1395 --------------------------------------------------------------------------------
1396
1397 Version 193:
1398
1399 * Update ssl_stream signatures for networking changes
1400 * Fix test::stream async_result transformation
1401 * Tidy up test::stream
1402 * Enable explicit instantiation of websocket::stream
1403
1404 --------------------------------------------------------------------------------
1405
1406 Version 192:
1407
1408 * Use mp11::integer_sequence
1409 * Tidy up warnings and deprecated usage
1410 * http::message is not-a boost::empty_value
1411 * Fix link in docs
1412 * Fixes to timeout services (experimental)
1413
1414 --------------------------------------------------------------------------------
1415
1416 Version 191:
1417
1418 * Add bind_front_handler
1419 * Use bind_front_handler
1420 * Simplify some type traits
1421 * Use lean_tuple in buffers_cat
1422 * Use lean_tuple in bind_handler, bind_front_handler
1423 * Use mp11 in detail::variant
1424 * Fix buffers_cat uninitialized warning
1425 * Fix static_string uninitialized warning
1426 * Fix warning in is_ssl_handshake
1427
1428 --------------------------------------------------------------------------------
1429
1430 Version 190:
1431
1432 * Add missing includes to convenience headers
1433 * Unit test framework is experimental
1434 * Add buffers_range
1435 * Rename experimental directory
1436 * Improve compilation of tests for continuous integration
1437 * Fix visibility warnings in test
1438
1439 --------------------------------------------------------------------------------
1440
1441 Version 189-hf1:
1442
1443 * Fix broken doc link
1444 * example/cppcon2018 only requires C++11
1445
1446 --------------------------------------------------------------------------------
1447
1448 Version 189:
1449
1450 * Add CppCon2018 chat server example and video
1451
1452 --------------------------------------------------------------------------------
1453
1454 Version 188:
1455
1456 * Remove extraneous strand from example
1457 * Add missing include in http/read.ipp
1458 * Test for gcc warning bug
1459 * Fix a spurious gcc warning
1460
1461 --------------------------------------------------------------------------------
1462
1463 Version 187:
1464
1465 * Add experimental timeout_socket
1466 * Fix warning in file tests
1467 * Fix uninitialized comparison in buffers iterator
1468 * Partial support for BOOST_NO_EXCEPTIONS
1469 * Fix a spurious gcc warning
1470 * Test for gcc warning bug
1471 * Add missing include
1472 * Remove extraneous strand from example
1473
1474 --------------------------------------------------------------------------------
1475
1476 Version 186:
1477
1478 * basic_fields uses intrusive base hooks
1479 * Fix parsing of out-of-bounds hex values
1480
1481 --------------------------------------------------------------------------------
1482
1483 Version 185:
1484
1485 * Remove extraneous function
1486 * Fix some typos
1487 * Add BOOST_BEAST_USE_STD_STRING_VIEW
1488 * Fix timer on websocket upgrade in examples
1489
1490 --------------------------------------------------------------------------------
1491
1492 Version 183:
1493
1494 * Fix a rare case of failed UTF8 validation
1495 * Verify certificates in client examples
1496 * Use boost::empty_value
1497 * Workaround for http-server-fast and libstdc++
1498
1499 --------------------------------------------------------------------------------
1500
1501 Version 182:
1502
1503 * Silence ubsan false positive
1504
1505 --------------------------------------------------------------------------------
1506
1507 Version 181:
1508
1509 * Fix parse_dec algorithm
1510 * Add parse_dec tests
1511
1512 --------------------------------------------------------------------------------
1513
1514 Version 180:
1515
1516 * Fix http_server_stackless_ssl.cpp example
1517
1518 --------------------------------------------------------------------------------
1519
1520 Version 179:
1521
1522 * Use the exchange() idiom in move constructors
1523 * Most members of std::allocate are deprecated in C++17
1524 * Remove some unused variables
1525
1526 --------------------------------------------------------------------------------
1527
1528 Version 178:
1529
1530 * Use static_cast instead
1531
1532 --------------------------------------------------------------------------------
1533
1534 Version 177:
1535
1536 * Add test for issue #1188
1537 * Set /permissive-
1538 * Check error in example set_option
1539
1540 --------------------------------------------------------------------------------
1541
1542 Version 176:
1543
1544 * Tidy up Quick Reference
1545 * Fix array end calculation in utf8 assertion
1546 * WebSocket masks use secure PRNG by default
1547
1548 --------------------------------------------------------------------------------
1549
1550 Version 175:
1551
1552 * Fix initialization warning
1553
1554 --------------------------------------------------------------------------------
1555
1556 Version 174:
1557
1558 * Fix Fields, FieldsWriter concept docs
1559 * Fix BodyReader constructor requirements doc
1560
1561 --------------------------------------------------------------------------------
1562
1563 Version 173:
1564
1565 * Remove Autobahn testsuite doc note
1566 * Fix buffers_adapter iterator value type
1567 * Fix buffers_adapter max_size
1568 * Fix buffers_prefix iterator decrement
1569 * buffers_adapter improvements
1570 * Add icy_stream Shoutcast stream filter
1571
1572 --------------------------------------------------------------------------------
1573
1574 Version 172:
1575
1576 * Tidy up websocket stream javadocs
1577 * Fix move-only arguments in bind_handler
1578 * Fix http::parser constructor javadoc
1579 * Tidy up test::stream javadocs
1580 * Tidy up composed operation doc
1581
1582 --------------------------------------------------------------------------------
1583
1584 Version 171:
1585
1586 * Add handler_ptr::has_value
1587 * Remove spurious assert
1588 * Fix unused variable warning
1589
1590 --------------------------------------------------------------------------------
1591
1592 Version 170:
1593
1594 * Add flat_stream to experimental
1595 * Add ssl_stream to experimental
1596 * Add test::error to experimental
1597 * Add test::fail_count to experimental
1598 * Add test::stream to experimental
1599 * Use a shared string for example HTTP server doc roots
1600 * Remove deprecated serializer::reader_impl()
1601 * Remove deprecated Body reader and writer ctor signatures
1602 * Add is_mutable_body_writer metafunction
1603 * Add const and non-const overloads for message based http writes
1604 * Use the root certificate which matches the fingerprint
1605
1606 --------------------------------------------------------------------------------
1607
1608 Version 169:
1609
1610 * Use buffers_to_string in tests
1611 * Use boost::void_t
1612 * Refactor HTTP write_op implementation
1613 * Use fully qualified namespace in BOOST_BEAST_HANDLER_INIT
1614 * New flat_stream example class
1615 * Use flat_stream in ssl_stream example code
1616
1617 --------------------------------------------------------------------------------
1618
1619 Version 168:
1620
1621 * Use executor_work_guard in composed operations
1622 * Revert verb.ipp change which caused spurious warnings
1623 * Fix race in advanced server examples
1624
1625 --------------------------------------------------------------------------------
1626
1627 Version 167:
1628
1629 * Revert: Tidy up calls to post()
1630
1631 --------------------------------------------------------------------------------
1632
1633 Version 166:
1634
1635 * Use boost::is_convertible as a workaround
1636
1637 --------------------------------------------------------------------------------
1638
1639 Version 165:
1640
1641 * Fix BOOST_NO_CXX11_ALLOCATOR check
1642
1643 --------------------------------------------------------------------------------
1644
1645 Version 164:
1646
1647 * Fix masking on continuation frames
1648 * Add Access-Control-Expose-Headers field constant
1649
1650 --------------------------------------------------------------------------------
1651
1652 Version 163:
1653
1654 * Tidy up calls to post()
1655 * Fix narrowing warnings
1656
1657 --------------------------------------------------------------------------------
1658
1659 Version 162:
1660
1661 * Add asio_handler_invoke overloads for stream algorithms
1662 * Improve websocket::stream::control_callback javadoc
1663
1664 --------------------------------------------------------------------------------
1665
1666 Version 161:
1667
1668 * Don't copy the handler in write_some_op
1669 * Add move-only handler tests
1670 * Fix handler parameter javadocs
1671
1672 --------------------------------------------------------------------------------
1673
1674 Version 160:
1675
1676 * Examples clear the HTTP message before reading
1677
1678 --------------------------------------------------------------------------------
1679
1680 Version 159:
1681
1682 * Fix typo in release notes
1683 * Safe treatment of zero-length string arguments in basic_fields
1684 * Some basic_fields operations now give the strong exception guarantee
1685
1686 --------------------------------------------------------------------------------
1687
1688 Version 158:
1689
1690 * Tidy up end_of_stream javadoc
1691 * Tidy up websocket docs
1692 * Examples set reuse_address(true)
1693 * Advanced servers support clean shutdown via SIGINT or SIGTERM
1694 * DynamicBuffer input areas are not mutable
1695 * Tidy up some documentation
1696
1697 API Changes:
1698
1699 * get_lowest_layer is a type alias
1700
1701 Actions required:
1702
1703 * Replace instances of `typename get_lowest_layer<T>::type`
1704 with `get_lowest_layer<T>`.
1705
1706 --------------------------------------------------------------------------------
1707
1708 Version 157:
1709
1710 * Fix teardown for TIME_WAIT
1711 * Fix big-endian websocket masking
1712
1713 --------------------------------------------------------------------------------
1714
1715 Version 156:
1716
1717 * Don't use typeid
1718 * Add release notes to documentation
1719 * Fix stale link for void-or-deduced
1720
1721 --------------------------------------------------------------------------------
1722
1723 Version 155:
1724
1725 * Fix memory leak in advanced server examples
1726 * Fix soft-mutex assert in websocket stream
1727 * Fix fallthrough warnings
1728 * Tidy up bind_handler doc
1729
1730 --------------------------------------------------------------------------------
1731
1732 Version 154:
1733
1734 * Type check completion handlers
1735 * bind_handler doc update
1736 * bind_handler works with boost placeholders
1737
1738 --------------------------------------------------------------------------------
1739
1740 Version 153:
1741
1742 * Remove BOOST_VERSION checks
1743 * Use make_error_code for setting an error_code from errc
1744 * Use boost::winapi::GetLastError() consistently
1745 * Update README.md for branches
1746 * Avoid string_view::clear
1747 * Fix iterator version of basic_fields::erase
1748 * Fix use-after-move in example request handlers
1749 * Add Bishop Fox interview media
1750
1751 --------------------------------------------------------------------------------
1752
1753 Version 152:
1754
1755 * Refactor detect_ssl_op
1756 * Disable gdb on Travis for Meltdown
1757
1758 WebSocket:
1759
1760 * Redistribute the read tests in the translation units
1761 * Refactor error headers
1762 * Add WebSocket error conditions
1763
1764 API Changes:
1765
1766 * Refactor WebSocket errors (API Change):
1767
1768 Actions Required:
1769
1770 * Code which explicitly compares error_code values against the
1771 constant `websocket::error::handshake_failed` should compare
1772 against `websocket::condition::handshake_failed` instead.
1773
1774 * Code which explicitly compares error_code values against the
1775 constant `websocket::error::failed` should compare
1776 against `websocket::condition::protocol_violation` instead.
1777
1778 --------------------------------------------------------------------------------
1779
1780 Version 151:
1781
1782 * Sanitizer failures are errors
1783 * Depend on container_hash
1784 * Fix high-ASCII in source file
1785
1786 WebSocket:
1787
1788 * Control callback is invoked on the execution context
1789 * Add stream_fwd.hpp
1790 * Remove unnecessary include
1791
1792 API Changes:
1793
1794 * http::parser is not MoveConstructible
1795 * permessage-deflate is a compile-time feature
1796
1797 --------------------------------------------------------------------------------
1798
1799 Version 150:
1800
1801 * handler_ptr tests
1802 * Documentation
1803
1804 API Changes:
1805
1806 * serializer::reader_impl is deprecated
1807
1808 Actions Required:
1809
1810 * Call serializer::writer_impl instead of reader_impl
1811
1812 --------------------------------------------------------------------------------
1813
1814 Version 149:
1815
1816 * built-in r-value return values can't be assigned
1817 * Tidy up ssl_stream special members
1818 * Fix CMakeLists.txt variable
1819 * Protect calls from macros
1820 * pausation always allocates
1821 * Don't copy completion handlers
1822 * handler_ptr is move-only
1823 * Fix Travis memory utilization
1824
1825 API Changes:
1826
1827 * handler_ptr gives the strong exception guarantee
1828
1829 Actions Required:
1830
1831 * Change the constructor signature for state objects
1832 used with handler_ptr to receive a const reference to
1833 the handler.
1834
1835 --------------------------------------------------------------------------------
1836
1837 Version 148:
1838
1839 * Install codecov on codecov CI targets only
1840 * Update reports for hybrid assessment
1841 * Handle invalid deflate frames
1842
1843 --------------------------------------------------------------------------------
1844
1845 Version 147:
1846
1847 * Don't use boost::string_ref
1848 * Use iterator wrapper in detail::buffers_range
1849
1850 HTTP:
1851
1852 * Tidy up basic_fields exception specifiers
1853
1854 WebSocket:
1855
1856 * control callback is copied or moved
1857 * Send idle pings in advanced servers
1858
1859 --------------------------------------------------------------------------------
1860
1861 Version 146:
1862
1863 * Fix some typos
1864 * Faster ascii_tolower
1865 * Documentation tidying
1866 * Fix typo in examples documentation
1867 * Add detail::aligned_union and tidy up
1868 * Use variant in buffers_cat_view
1869
1870 API Changes:
1871
1872 * Remove unintended public members of handler_ptr
1873
1874 --------------------------------------------------------------------------------
1875
1876 Version 145:
1877
1878 * Rename some detail functions
1879 * Refactor basic_fields allocator internals
1880 * Refactor HTTP async read composed operations
1881 * null_buffers is deprecated
1882 * Version 124 works with Boost 1.65.1 and earlier
1883 * basic_fields does not support fancy pointers
1884
1885 --------------------------------------------------------------------------------
1886
1887 Version 144-hf1:
1888
1889 * Update reports for hybrid assessment
1890 * Handle invalid deflate frames
1891 * Install codecov on codecov CI targets only
1892
1893 --------------------------------------------------------------------------------
1894
1895 Version 144:
1896
1897 * Fix websocket permessage-deflate negotiation
1898
1899 --------------------------------------------------------------------------------
1900
1901 Version 143:
1902
1903 * Fix autobahn report link
1904
1905 --------------------------------------------------------------------------------
1906
1907 Version 142:
1908
1909 * Warn about upcoming API changes to certain concepts
1910 * Fix name typo in http write test
1911
1912 --------------------------------------------------------------------------------
1913
1914 Version 141:
1915
1916 * Tidy up some documentation
1917
1918 --------------------------------------------------------------------------------
1919
1920 Version 140:
1921
1922 * Fix some integer warnings in 64-bit builds
1923 * Fix utf8_checker test failures
1924 * Fix signature for async_read_some, and tests
1925 * Tidy up basic_parser
1926 * Some basic_fields special members are protected
1927
1928 --------------------------------------------------------------------------------
1929
1930 Version 139:
1931
1932 * Revisit boost library min/max guidance
1933
1934 --------------------------------------------------------------------------------
1935
1936 Version 138:
1937
1938 * Tidy up some documentation
1939
1940 --------------------------------------------------------------------------------
1941
1942 Version 137:
1943
1944 * ConstBufferSequence mandates pointer equivalence
1945 * Add FieldsWriter constructor requirement
1946 * Tidy up some documented constructor syntax
1947
1948 --------------------------------------------------------------------------------
1949
1950 Version 136:
1951
1952 * Tidy up message doc image
1953
1954 --------------------------------------------------------------------------------
1955
1956 Version 135:
1957
1958 * Fix typo in example server help text
1959
1960 --------------------------------------------------------------------------------
1961
1962 Version 134:
1963
1964 * Add static_buffer_base default constructor definition
1965
1966 --------------------------------------------------------------------------------
1967
1968 Version 133:
1969
1970 * Remove const&& overload of message::body
1971
1972 --------------------------------------------------------------------------------
1973
1974 Version 132:
1975
1976 * Tidy up project folders in CMakeLists.txt
1977 * Rename Cmake variables for clarity
1978 * Add ref-qualified overloads for message::body
1979 * Tidy up FieldsReader doc
1980
1981 API Changes:
1982
1983 * Fields::writer replaces Fields::reader
1984 * BodyReader and BodyWriter names are swapped
1985
1986 Actions Required:
1987
1988 * Rename reader to writer for user defined Fields
1989 * Swap the reader and writer names for user defined Body types
1990 * Swap use of is_body_reader and is_body_writer
1991
1992 --------------------------------------------------------------------------------
1993
1994 Version 131:
1995
1996 * basic_fields returns const values
1997 * Set SNI hostname in example SSL clients
1998
1999 --------------------------------------------------------------------------------
2000
2001 Version 130:
2002
2003 * Tidy up fallthrough warning
2004 * Remove cxx11_sfinae_expr build requirement from tests
2005
2006 --------------------------------------------------------------------------------
2007
2008 Version 129:
2009
2010 * Add autobahn test report to doc
2011 * Documentation tidying
2012 * Fix prepare_payload: chunked is HTTP/1.1
2013
2014 --------------------------------------------------------------------------------
2015
2016 Version 128:
2017
2018 * Update doc links
2019 * Add explicit-failures-markup.xml
2020
2021 HTTP:
2022
2023 * Add message::need_eof
2024 * Use message::need_eof in example servers
2025 * Use synchronous writes in chunk output example
2026
2027 WebSocket:
2028
2029 * Fix utf8 validation for autobahn
2030 * Temporarily disable utf8 validation tests
2031 * Tidy up fast websocket server host names
2032
2033 API Changes:
2034
2035 * Remove serializer::keep_alive
2036 * Remove serializer::chunked
2037 * Add has_content_length_impl to Fields
2038 * Add message::has_content_length
2039 * Rename some basic_parser observers
2040
2041 Actions Required:
2042
2043 * Call message::keep_alive instead of serializer::keep_alive
2044 * Call serializer::get::chunked instead of serializer::chunked
2045 * Implement has_content_length_impl for user-defined Fields
2046 * Remove the "is_" prefix from call sites invoking certain basic_parser members
2047
2048 --------------------------------------------------------------------------------
2049
2050 Version 127:
2051
2052 * Add BOOST_BEAST_NO_POSIX_FADVISE
2053 * Version command line option for HTTP client examples
2054 * More Jamfile compiler requirements for tests
2055
2056 --------------------------------------------------------------------------------
2057
2058 Version 126:
2059
2060 * Add CppCon2017 presentation link
2061 * Update README.md
2062 * Update stream write documentation for end of stream changes
2063 * Tidy up unused variable warnings
2064 * Don't return end_of_stream on win32 file body writes
2065 * Fix doc typo
2066 * Fix shadowing in session_alloc
2067 * Fix executor type compilation
2068 * Add Travis tests with the default compilers
2069 * Update Boost.WinAPI usage to the new location and namespace.
2070 * Fix buffered_read_stream async_read_some signature
2071
2072 --------------------------------------------------------------------------------
2073
2074 Version 125:
2075
2076 API Changes:
2077
2078 * Update for Net-TS Asio
2079
2080 Actions Required:
2081
2082 * Use BOOST_ASIO_HANDLER_TYPE instead of handler_type
2083 * Use BOOST_ASIO_INITFN_RESULT_TYPE instead of async_result
2084 * Use boost::asio::async_completion
2085 * Use boost::asio::is_dynamic_buffer
2086 * Use boost::asio::is_const_buffer_sequence
2087 * Use boost::asio::is_mutable_buffer_sequence
2088 * boost::asio::associated_allocator_t replaces handler_alloc
2089
2090 --------------------------------------------------------------------------------
2091
2092 Version 124:
2093
2094 * Fix for a test matrix compiler
2095 * Fix basic_fields javadoc
2096
2097 API Changes:
2098
2099 * http write returns success on connection close
2100
2101 Actions Required:
2102
2103 * Add code to servers to close the connection after successfully
2104 writing a message where `message::keep_alive()` would return `false`.
2105
2106 --------------------------------------------------------------------------------
2107
2108 Version 123:
2109
2110 * Use unit-test subtree
2111 * Fix spurious race in websocket close test
2112 * Check compiler feature in Jamfile
2113 * Clear previous message fields in parser
2114
2115 --------------------------------------------------------------------------------
2116
2117 Version 122:
2118
2119 * Add test for issue 807
2120 * assert on empty buffer in websocket read
2121 * Fix zlib symbol conflicts
2122 * CMake 3.5.1 is required
2123 * config.hpp is not a public header
2124 * Add missing case in error test
2125
2126 --------------------------------------------------------------------------------
2127
2128 Version 121:
2129
2130 * Add test for issue 802
2131 * Fix enum and non-enum in conditional exp. warning
2132
2133 --------------------------------------------------------------------------------
2134
2135 Version 120:
2136
2137 * Fix spurious strand_ in advanced_server_flex
2138 * OpenSSL targets are optional (CMake)
2139
2140 --------------------------------------------------------------------------------
2141
2142 Version 119:
2143
2144 * Tidy up doc badge links
2145
2146 --------------------------------------------------------------------------------
2147
2148 Version 118:
2149
2150 * file_win32 opens for read-only in shared mode
2151 * Remove unused strands in server examples
2152 * Update build instructions
2153 * Doc root is at index.html
2154
2155 HTTP:
2156
2157 * Fix writing header into std::ostream
2158
2159 --------------------------------------------------------------------------------
2160
2161 Version 117:
2162
2163 * Add buffers_to_string
2164
2165 API Changes:
2166
2167 * buffers_suffix replaces consuming_buffers
2168 * buffers_prefix replaces buffer_prefix
2169 * buffers_prefix_view replaces buffer_prefix_view
2170 * buffers_front replaces buffer_front
2171 * buffers_cat replaces buffer_cat
2172 * buffers_cat_view replaces buffer_cat_view
2173 * Remove buffers_suffix::get
2174
2175 Actions Required:
2176
2177 * Use buffers_suffix instead of consuming_buffers
2178 * Use buffers_prefix instead of buffer_prefix
2179 * Use buffers_prefix_view instead of buffer_prefix_view
2180 * Use buffers_front instead of buffer_front
2181 * Use buffers_cat instead of buffer_cat
2182 * Use buffers_cat_view instead of buffer_cat_view
2183 * Avoid calling buffers_suffix::get
2184
2185 --------------------------------------------------------------------------------
2186
2187 Version 116:
2188
2189 API Changes:
2190
2191 * message::body is a member function
2192 * message::version is a member function
2193
2194 Actions Required:
2195
2196 * Call member function message::body instead of accessing
2197 the data member at call sites.
2198
2199 * Call member function message::version instead of accessing
2200 the version member at call sites.
2201
2202 --------------------------------------------------------------------------------
2203
2204 Version 115:
2205
2206 * Update README.md master doc link
2207
2208 --------------------------------------------------------------------------------
2209
2210 Version 114:
2211
2212 (No changes)
2213
2214 --------------------------------------------------------------------------------
2215
2216 Version 113:
2217
2218 * Fix handler signature in async_read_header
2219 * Remove field_range copy constructor
2220
2221 --------------------------------------------------------------------------------
2222
2223 Version 112:
2224
2225 * Update websocket notes
2226
2227 API Changes:
2228
2229 * WebSocket writes return the bytes transferred
2230
2231 * HTTP reads and writes return bytes transferred
2232
2233 Actions Required:
2234
2235 * Modify websocket write completion handlers to receive
2236 the extra std::size_t bytes_transferred parameter.
2237
2238 * Modify HTTP read and/or write completion handlers to
2239 receive the extra std::size_t bytes_transferred parameter.
2240
2241 --------------------------------------------------------------------------------
2242
2243 Version 111:
2244
2245 WebSocket:
2246
2247 * Fix utf8 check split code point at buffer end
2248 * Refactor stream operations and tests plus coverage
2249 * Suspended ops special members
2250
2251 --------------------------------------------------------------------------------
2252
2253 Version 110:
2254
2255 * Refactor stream open state variable
2256 * Refactor websocket stream members
2257 * Refactor websocket stream: fixes and tests
2258 * Add test::stream::lowest_layer
2259 * Fix invalid iterator in test reporter
2260
2261 --------------------------------------------------------------------------------
2262
2263 Version 109:
2264
2265 * refactor test::stream
2266
2267 WebSocket:
2268
2269 * Fix async_read_some handler signature
2270 * websocket close fixes and tests
2271 * websocket handshake uses coroutine
2272 * websocket ping tests
2273 * Fix websocket close_op resume state
2274 * websocket write tests
2275 * split up websocket tests
2276 * websocket read tests
2277
2278 API Changes:
2279
2280 * websocket accept refactoring
2281
2282 Actions Required:
2283
2284 * Do not call websocket accept overloads which take
2285 both a message and a buffer sequence, as it is
2286 illegal per rfc6455.
2287
2288 --------------------------------------------------------------------------------
2289
2290 Version 108:
2291
2292 * Fix argument parsing in HTTP examples
2293 * Don't use async_write_msg in examples
2294
2295 --------------------------------------------------------------------------------
2296
2297 Version 107:
2298
2299 * Use test::stream
2300
2301 WebSocket
2302
2303 * Fix done state for WebSocket reads
2304 * Fix utf8 check for compressed frames
2305 * Rename frame and header buffer types
2306
2307 --------------------------------------------------------------------------------
2308
2309 Version 106:
2310
2311 * Dynamic buffer input areas are mutable
2312 * Add flat_static_buffer::reset
2313
2314 HTTP:
2315
2316 * Fix for basic_parser::skip(true) and docs
2317
2318 WebSocket:
2319
2320 * websocket test improvements
2321 * Remove obsolete write_op
2322 * Refactor write_op
2323 * Refactor ping_op
2324 * Refactor fail_op
2325 * Refactor read_op
2326 * Refactor close_op
2327 * Refactor read_op + fail_op
2328 * Websocket close will automatically drain
2329 * Autobahn|Testsuite fixes
2330 * Tidy up utf8_checker and tests
2331
2332 --------------------------------------------------------------------------------
2333
2334 Version 105:
2335
2336 * Fix compile error in websocket snippet
2337 * Tidy up Jamfile and tests
2338
2339 --------------------------------------------------------------------------------
2340
2341 Version 104:
2342
2343 * Remove unused include
2344 * Use #error in config.hpp
2345 * Only set -std=c++11 on Travis
2346 * Only set /permissive- on Appveyor
2347 * Tidy up some test warnings
2348 * tools/ renamed from build/
2349
2350 WebSocket:
2351
2352 * Fix pausation::save
2353
2354 --------------------------------------------------------------------------------
2355
2356 Version 103:
2357
2358 * Boost test matrix fixes
2359 * Tidy up allocator usage
2360 * Example HTTP server fixes
2361
2362 --------------------------------------------------------------------------------
2363
2364 Version 102:
2365
2366 * Section headings in examples
2367
2368 --------------------------------------------------------------------------------
2369
2370 Version 101:
2371
2372 * Refactor all examples
2373
2374 --------------------------------------------------------------------------------
2375
2376 Version 100:
2377
2378 * Fix doc convenience includes
2379 * Fix doc includes
2380 * Remove unused test header
2381 * Rename test macros
2382 * Reorder define test macro params
2383 * vcxproj workaround for include symlinks
2384 * Add variadic min/max
2385
2386 WebSocket:
2387
2388 * Remove obsolete frame tests
2389 * Refactor fail/clode code
2390 * Call do_fail from read_some
2391 * eof on accept returns error::closed
2392 * Fix stream::read_size_hint calculation
2393 * Documentation
2394
2395 API Changes:
2396
2397 * Calls to stream::close and stream::async_close will
2398 automatically perform the required read operations
2399
2400 * drain_buffer is removed
2401
2402 * role_type replaces teardown_tag
2403
2404 Actions Required:
2405
2406 * Remove calling code which drains the connection after
2407 calling stream::close or stream::async_close
2408
2409 * Replace code which uses drain_buffer. For websocket::stream,
2410 it is no longer necessary to manually drain the connection
2411 after closing.
2412
2413 * Modify signatures of teardown and async_teardown to use
2414 role_type instead of teardown_tag
2415
2416 * Change calls to teardown and async_teardown to pass the
2417 correct role_type, client or server, depending on context.
2418
2419 --------------------------------------------------------------------------------
2420
2421 Version 99:
2422
2423 * Log the value of LIB_DIR for doc builds (debug)
2424 * Use correct handler signature in fail_op
2425 * Fix doc typo
2426
2427 --------------------------------------------------------------------------------
2428
2429 Version 98:
2430
2431 * basic_fields::key_compare is noexcept
2432 * Fix bench-zlib cmake
2433 * Use unique names Jam projects
2434 * Trim utf8 checker test
2435
2436 --------------------------------------------------------------------------------
2437
2438 Version 97:
2439
2440 * Update redirect
2441
2442 --------------------------------------------------------------------------------
2443
2444 Version 96:
2445
2446 * Move bench/ to test/
2447 * Move extras/ to test/
2448 * Use <valgrind> property
2449 * Rename wsload compile target
2450 * Fix library.json
2451 * Update boostorg links
2452 * Add bench-zlib
2453 * Faster zlib tests
2454 * Less compression on websocket test
2455
2456 --------------------------------------------------------------------------------
2457
2458 Version 95:
2459
2460 * Tidy up Travis build scripts
2461 * Move scripts to build/
2462 * Fix race in test::pipe
2463 * close on test::pipe teardown
2464 * Add test::stream
2465 * Tidy up static_buffer braced init
2466 * Fix html redirect
2467 * Add valgrind variant, fix false positives
2468
2469 --------------------------------------------------------------------------------
2470
2471 Version 94:
2472
2473 * Use off-site Quick Start link temporarily
2474
2475 --------------------------------------------------------------------------------
2476
2477 Version 93:
2478
2479 * Unset BOOST_COROUTINES_NO_DEPRECATION_WARNING
2480
2481 --------------------------------------------------------------------------------
2482
2483 Version 92:
2484
2485 * Fix typo in test/CMakeLists.txt
2486 * basic_fields::value_type is not copyable
2487 * Update repository links in source comments
2488 * Ignore Content-Length in some cases
2489 * Tidy up doc snippet paths
2490 * Use off-site doc link
2491
2492 --------------------------------------------------------------------------------
2493
2494 Version 91:
2495
2496 * Adjust redirect html
2497 * Don't build pre-C++11
2498 * source.dox is path-independent
2499 * Tidy up namespace qualifiers
2500 * Tidy up MSVC CMakeLists.txt
2501 * Optimize buffered_read_stream
2502 * constexpr in derived buffers
2503 * Set BOOST_ASIO_NO_DEPRECATED
2504 * Use Asio array optimization in static_buffer_base
2505 * Rename wstest source file
2506 * Use fopen_s on Windows
2507 * Fix Appveyor script
2508 * Update project metadata
2509 * Move benchmarks to bench/
2510 * Fix doc title
2511 * Build stand-alone doc
2512 * Update doc copyrights
2513 * Refactor test build scripts
2514
2515 WebSocket:
2516
2517 * Tidy up websocket javadocs
2518 * Refactor accept, handshake ops
2519 * Use read buffer instead of buffered stream
2520
2521 API Changes
2522
2523 * control frame callbacks are non-const references
2524
2525 Actions Required:
2526
2527 * Modify calls to set the control frame callback, to
2528 pass non-const reference instances, and manage the
2529 lifetime of the instance.
2530
2531 --------------------------------------------------------------------------------
2532
2533 Version 90:
2534
2535 * Fix websocket read of zero length message
2536 * Fix typo in equal_range
2537 * Output to integrated documentation
2538
2539 --------------------------------------------------------------------------------
2540
2541 Version 89:
2542
2543 * Fix CONTRIBUTING.md links
2544
2545 --------------------------------------------------------------------------------
2546
2547 Version 88:
2548
2549 * Update doc links in README.md
2550 * Refactor tests Jamfile
2551 * Don't use program_options
2552
2553 WebSocket:
2554
2555 * Fix uninitialized frame done
2556
2557 --------------------------------------------------------------------------------
2558
2559 Version 87:
2560
2561 * Update appveyor for Boost branch
2562 * Rename to BEAST_EXPECT
2563 * variant fixes and tests
2564 * Update README, add CONTRIBUTING.md and CODE_OF_CONDUCT.md
2565
2566 --------------------------------------------------------------------------------
2567
2568 Version 86:
2569
2570 * Boost prep
2571 * Remove use of lexical_cast
2572 * Use custom variant
2573 * Update README.md
2574 * Add local-travis.sh
2575 * Use winapi
2576 * Update CMakeLists.txt for boost
2577 * Update documentation for boost
2578 * Update copyrights
2579 * Remove spurious declaration
2580 * Tidy up Jamfile
2581 * Normalize doc build scripts
2582 * Use configured doxygen and xsltproc
2583 * Fix Deferred Body Type Example Documentation
2584 * Add library metadata
2585
2586 API Changes:
2587
2588 * websocket read returns the number of bytes inserted
2589
2590 Actions Required:
2591
2592 * Change the signature of completion handlers used with
2593 websocket::stream::async_read to void(error_code, std::size_t)
2594
2595 --------------------------------------------------------------------------------
2596
2597 Version 85:
2598
2599 * Fix test failure
2600 * Tidy up test warning
2601
2602 --------------------------------------------------------------------------------
2603
2604 Version 84:
2605
2606 * Tidy up buffer_front
2607 * static_buffer::consume improvement
2608 * multi_buffer is type-check friendly
2609 * bind_handler allows placeholders
2610 * Add consuming_buffers::get
2611
2612 WebSocket:
2613
2614 * WebSocket read optimization
2615
2616 API Changes:
2617
2618 * websocket::stream::read_buffer_size is removed
2619
2620 Actions Required:
2621
2622 * Remove calls websocket::stream::read_buffer_size
2623 * Use read_some and write_some instead of read_frame and write_frame
2624
2625 --------------------------------------------------------------------------------
2626
2627 Version 83:
2628
2629 * Add flat_static_buffer::mutable_data
2630 * Add buffer_front
2631 * Add wstest compression option
2632 * Turn some flat_static_buffer_tests on
2633 * Documentation work
2634 * read_some, async_read_some return bytes used
2635 * Fix private timer::clock_type
2636
2637 WebSocket
2638
2639 * Add wstest compression option
2640 * Fix buffer lifetime in websocket write
2641
2642 API Changes:
2643
2644 * Add static_buffer
2645
2646 Actions Required:
2647
2648 * Callers who depend on static_buffer returning sequences of
2649 exactly length one should switch to flat_static_buffer.
2650
2651 --------------------------------------------------------------------------------
2652
2653 Version 82:
2654
2655 * Documentation tidying
2656 * is_invocable works with move-only types
2657 * Use std::function and reference wrapper
2658 * Add session_alloc to example/common
2659 * Silence spurious warning
2660
2661 HTTP
2662
2663 * Fix extraneous argument in async_write_header
2664
2665 WebSocket
2666
2667 * stream tidying
2668 * Add rd_close_ to websocket stream state
2669 * stream uses flat_buffer
2670 * accept requires a message
2671 * Add wstest benchmark tool
2672
2673 API Changes:
2674
2675 * Rename to flat_static_buffer and flat_static_buffer_base
2676
2677 Actions Required:
2678
2679 * Rename static_buffer to flat_static_buffer_base
2680 * Rename static_buffer_n to flat_static_buffer
2681
2682 --------------------------------------------------------------------------------
2683
2684 Version 81:
2685
2686 * Pass string_view by value
2687 * better is_final on empty_base_optimization
2688 * Suppress incorrect GCC warning
2689 * multi_buffer ctor is explicit
2690 * File is not copy-constructible
2691
2692 API Changes:
2693
2694 * Refactor basic_parser, chunk parsing:
2695
2696 Actions Required:
2697
2698 * Adjust signatures for required members of user-defined
2699 subclasses of basic_parser
2700
2701 * Use the new basic_parser chunk callbacks for accessing
2702 chunk extensions and chunk bodies.
2703
2704 --------------------------------------------------------------------------------
2705
2706 Version 80:
2707
2708 * Javadoc tidying
2709 * Add basic_dynamic_body.hpp
2710 * Shrink buffer_prefix_view
2711 * Remove unused file_path
2712 * Add basic_file_body.hpp
2713 * buffers_ref is Assignable
2714
2715 HTTP
2716
2717 * Shrink chunk header buffer sequence size
2718
2719 API Changes:
2720
2721 * Refactor chunked-encoding serialization
2722
2723 Actions Required:
2724
2725 * Remove references to ChunkDecorators. Use the new chunk-encoding
2726 buffer sequences to manually produce a chunked payload body in
2727 the case where control over the chunk-extensions and/or trailers
2728 is required.
2729
2730 --------------------------------------------------------------------------------
2731
2732 Version 79:
2733
2734 * Remove spurious fallthrough guidance
2735
2736 --------------------------------------------------------------------------------
2737
2738 Version 78:
2739
2740 * Add span
2741 * Documentation work
2742 * Use make_unique_noinit
2743 * Fix warning in zlib
2744 * Header file tidying
2745 * Tidy up FieldsReader doc
2746 * Add Boost.Locale utf8 benchmark comparison
2747 * Tidy up dstream for existing Boost versions
2748 * Tidy up file_posix unused variable
2749 * Fix warning in root ca declaration
2750
2751 HTTP:
2752
2753 * Tidy up basic_string_body
2754 * Add vector_body
2755 * span, string, vector bodies are public
2756 * Fix spurious uninitialized warning
2757 * fields temp string uses allocator
2758
2759 API Changes:
2760
2761 * Add message::keep_alive()
2762 * Add message::chunked() and message::content_length()
2763 * Remove string_view_body
2764
2765 Actions Required:
2766
2767 * Change user defined implementations of Fields and
2768 FieldsReader to meet the new requirements.
2769
2770 * Use span_body<char> instead of string_view_body
2771
2772 --------------------------------------------------------------------------------
2773
2774 Version 77:
2775
2776 * file_posix works without large file support
2777
2778 --------------------------------------------------------------------------------
2779
2780 Version 76:
2781
2782 * Always go through write_some
2783 * Use Boost.Config
2784 * BodyReader may construct from a non-const message
2785 * Add serializer::get
2786 * Add serializer::chunked
2787 * Serializer members are not const
2788 * serializing file_body is not const
2789 * Add file_body_win32
2790 * Fix parse illegal characters in obs-fold
2791 * Disable SSE4.2 optimizations
2792
2793 API Changes:
2794
2795 * Rename to serializer::keep_alive
2796 * BodyReader, BodyWriter use two-phase init
2797
2798 Actions Required:
2799
2800 * Use serializer::keep_alive instead of serializer::close and
2801 take the logical NOT of the return value.
2802
2803 * Modify instances of user-defined BodyReader and BodyWriter
2804 types to perform two-phase initialization, as per the
2805 updated documented type requirements.
2806
2807 --------------------------------------------------------------------------------
2808
2809 Version 75:
2810
2811 * Use file_body for valid requests, string_body otherwise.
2812 * Construct buffer_prefix_view in-place
2813 * Shrink serializer buffers using buffers_ref
2814 * Tidy up BEAST_NO_BIG_VARIANTS
2815 * Shrink serializer buffers using buffers_ref
2816 * Add serializer::limit
2817 * file_body tests
2818 * Using SSE4.2 intrinsics in basic_parser if available
2819
2820 --------------------------------------------------------------------------------
2821
2822 Version 74:
2823
2824 * Add file_stdio and File concept
2825 * Add file_win32
2826 * Add file_body
2827 * Remove common/file_body.hpp
2828 * Add file_posix
2829 * Fix Beast include directories for cmake targets
2830 * remove redundant flush() from example
2831
2832 --------------------------------------------------------------------------------
2833
2834 Version 73:
2835
2836 * Jamroot tweak
2837 * Verify certificates in SSL clients
2838 * Adjust benchmarks
2839 * Initialize local variable in basic_parser
2840 * Fixes for gcc-4.8
2841
2842 HTTP:
2843
2844 * basic_parser optimizations
2845 * Add basic_parser tests
2846
2847 API Changes:
2848
2849 * Refactor header and message constructors
2850 * serializer::next replaces serializer::get
2851
2852 Actions Required:
2853
2854 * Evaluate each message constructor call site and
2855 adjust the constructor argument list as needed.
2856
2857 * Use serializer::next instead of serializer::get at call sites
2858
2859 --------------------------------------------------------------------------------
2860
2861 Version 72:
2862
2863 HTTP:
2864
2865 * Tidy up set payload in http-server-fast
2866 * Refine Body::size specification
2867 * Newly constructed responses have a 200 OK result
2868 * Refactor file_body for best practices
2869 * Add http-server-threaded example
2870 * Documentation tidying
2871 * Various improvements to http_server_fast.cpp
2872
2873 WebSocket:
2874
2875 * Add websocket-server-async example
2876
2877 --------------------------------------------------------------------------------
2878
2879 Version 71:
2880
2881 * Fix extra ; warning
2882 * Documentation revision
2883 * Fix spurious on_chunk invocation
2884 * Call prepare_payload in HTTP example
2885 * Check trailers in test
2886 * Fix buffer overflow handling for string_body and mutable_body
2887 * Concept check in basic_dynamic_body
2888 * Tidy up http_sync_port error check
2889 * Tidy up Jamroot /permissive-
2890
2891 WebSockets:
2892
2893 * Fine tune websocket op asserts
2894 * Refactor websocket composed ops
2895 * Allow close, ping, and write to happen concurrently
2896 * Fix race in websocket read op
2897 * Fix websocket write op
2898 * Add cmake options for examples and tests
2899
2900 API Changes:
2901
2902 * Return `std::size_t` from `Body::writer::put`
2903
2904 Actions Required:
2905
2906 * Return the number of bytes actually transferred from the
2907 input buffers in user defined `Body::writer::put` functions.
2908
2909 --------------------------------------------------------------------------------
2910
2911 Version 70:
2912
2913 * Serialize in one step when possible
2914 * Add basic_parser header and body limits
2915 * Add parser::on_header to set a callback
2916 * Fix BEAST_FALLTHROUGH
2917 * Fix HEAD response in file_service
2918
2919 API Changes:
2920
2921 * Rename to message::base
2922 * basic_parser default limits are now 1MB/8MB
2923
2924 Actions Required:
2925
2926 * Change calls to message::header_part() with message::base()
2927
2928 * Call body_limit and/or header_limit as needed to adjust the
2929 limits to suitable values if the defaults are insufficient.
2930
2931 --------------------------------------------------------------------------------
2932
2933 Version 69:
2934
2935 * basic_parser optimizations
2936 * Use BEAST_FALLTHROUGH to silence warnings
2937 * Add /permissive- to msvc toolchain
2938
2939 --------------------------------------------------------------------------------
2940
2941 Version 68:
2942
2943 * Split common tests to a new project
2944 * Small speed up in fields comparisons
2945 * Adjust buffer size in fast server
2946 * Use string_ref in older Boost versions
2947 * Optimize field lookups
2948 * Add const_body, mutable_body to examples
2949 * Link statically on cmake MSVC
2950
2951 API Changes:
2952
2953 * Change BodyReader, BodyWriter requirements
2954 * Remove BodyReader::is_deferred
2955 * http::error::bad_target replaces bad_path
2956
2957 Actions Required:
2958
2959 * Change user defined instances of BodyReader and BodyWriter
2960 to meet the new requirements.
2961
2962 * Replace references to http::error::bad_path with http::error::bad_target
2963
2964 --------------------------------------------------------------------------------
2965
2966 Version 67:
2967
2968 * Fix doc example link
2969 * Add http-server-small example
2970 * Merge stream_base to stream and tidy
2971 * Use boost::string_view
2972 * Rename to http-server-fast
2973 * Appveyor use Boost 1.64.0
2974 * Group common example headers
2975
2976 API Changes:
2977
2978 * control_callback replaces ping_callback
2979
2980 Actions Required:
2981
2982 * Change calls to websocket::stream::ping_callback to use
2983 websocket::stream::control_callback
2984
2985 * Change user defined ping callbacks to have the new
2986 signature and adjust the callback definition appropriately.
2987
2988 --------------------------------------------------------------------------------
2989
2990 Version 66:
2991
2992 * string_param optimizations
2993 * Add serializer request/response aliases
2994 * Make consuming_buffers smaller
2995 * Fix costly potential value-init in parser
2996 * Fix unused parameter warning
2997 * Handle bad_alloc in parser
2998 * Tidy up message piecewise ctors
2999 * Add header aliases
3000 * basic_fields optimizations
3001 * Add http-server example
3002 * Squelch spurious warning on gcc
3003
3004 --------------------------------------------------------------------------------
3005
3006 Version 65:
3007
3008 * Enable narrowing warning on msvc cmake
3009 * Fix integer types in deflate_stream::bi_reverse
3010 * Fix narrowing in static_ostream
3011 * Fix narrowing in ostream
3012 * Fix narrowing in inflate_stream
3013 * Fix narrowing in deflate_stream
3014 * Fix integer warnings
3015 * Enable unused variable warning on msvc cmake
3016
3017 --------------------------------------------------------------------------------
3018
3019 Version 64:
3020
3021 * Simplify buffered_read_stream composed op
3022 * Simplify ssl teardown composed op
3023 * Simplify websocket write_op
3024 * Exemplars are compiled code
3025 * Better User-Agent in examples
3026 * async_write requires a non-const message
3027 * Doc tidying
3028 * Add link_directories to cmake
3029
3030 API Changes:
3031
3032 * Remove make_serializer
3033
3034 Actions Required:
3035
3036 * Replace calls to make_serializer with variable declarations
3037
3038 --------------------------------------------------------------------------------
3039
3040 Version 63:
3041
3042 * Use std::to_string instead of lexical_cast
3043 * Don't use cached Boost
3044 * Put num_jobs back up on Travis
3045 * Only build and run tests in variant=coverage
3046 * Move benchmarks to a separate project
3047 * Only run the tests under ubasan
3048 * Tidy up CMakeLists.txt
3049 * Tidy up Jamfiles
3050 * Control running with valgrind explicitly
3051
3052 --------------------------------------------------------------------------------
3053
3054 Version 62:
3055
3056 * Remove libssl-dev from a Travis matrix item
3057 * Increase detail::static_ostream coverage
3058 * Add server-framework tests
3059 * Doc fixes and tidy
3060 * Tidy up namespaces in examples
3061 * Clear the error faster
3062 * Avoid explicit operator bool for error
3063 * Add http::is_fields trait
3064 * Squelch harmless not_connected errors
3065 * Put slow tests back for coverage builds
3066
3067 API Changes:
3068
3069 * parser requires basic_fields
3070 * Refine FieldsReader concept
3071 * message::prepare_payload replaces message::prepare
3072
3073 Actions Required:
3074
3075 * Callers using `parser` with Fields types other than basic_fields
3076 will need to create their own subclass of basic_parser to work
3077 with their custom fields type.
3078
3079 * Implement chunked() and keep_alive() for user defined FieldsReader types.
3080
3081 * Change calls to msg.prepare to msg.prepare_payload. For messages
3082 with a user-defined Fields, provide the function prepare_payload_impl
3083 in the fields type according to the Fields requirements.
3084
3085 --------------------------------------------------------------------------------
3086
3087 Version 61:
3088
3089 * Remove Spirit dependency
3090 * Use generic_cateogry for errno
3091 * Reorganize SSL examples
3092 * Tidy up some integer conversion warnings
3093 * Add message::header_part()
3094 * Tidy up names in error categories
3095 * Flush the output stream in the example
3096 * Clean close in Secure WebSocket client
3097 * Add server-framework SSL HTTP and WebSocket ports
3098 * Fix shadowing warnings
3099 * Tidy up http-crawl example
3100 * Add multi_port to server-framework
3101 * Tidy up resolver calls
3102 * Use one job on CI
3103 * Don't run slow tests on certain targets
3104
3105 API Changes:
3106
3107 * header::version is unsigned
3108 * status-codes is unsigned
3109
3110 --------------------------------------------------------------------------------
3111
3112 Version 60:
3113
3114 * String comparisons are public interfaces
3115 * Fix response message type in async websocket accept
3116 * New server-framework, full featured server example
3117
3118 --------------------------------------------------------------------------------
3119
3120 Version 59:
3121
3122 * Integrated Beast INTERFACE (cmake)
3123 * Fix base64 alphabet
3124 * Remove obsolete doc/README.md
3125
3126 API Changes:
3127
3128 * Change Body::size signature (API Change):
3129
3130 Actions Required:
3131
3132 * For any user-defined models of Body, change the function signature
3133 to accept `value_type const&` and modify the function definition
3134 accordingly.
3135
3136 --------------------------------------------------------------------------------
3137
3138 Version 58:
3139
3140 * Fix unaligned reads in utf8-checker
3141 * Qualify size_t in message template
3142 * Reorganize examples
3143 * Specification for http read
3144 * Avoid `std::string` in websocket
3145 * Fix basic_fields insert ordering
3146 * basic_fields::set optimization
3147 * basic_parser::put doc
3148 * Use static string in basic_fields::reader
3149 * Remove redundant code
3150 * Fix parsing chunk size with leading zeroes
3151 * Better message formal parameter names
3152
3153 API Changes:
3154
3155 * `basic_fields::set` renamed from `basic_fields::replace`
3156
3157 Actions Required:
3158
3159 * Rename calls to `basic_fields::replace` to `basic_fields::set`
3160
3161 --------------------------------------------------------------------------------
3162
3163 Version 57:
3164
3165 * Fix message.hpp javadocs
3166 * Fix warning in basic_parser.cpp
3167 * Integrate docca for documentation and tidy
3168
3169 --------------------------------------------------------------------------------
3170
3171 Version 56:
3172
3173 * Add provisional IANA header field names
3174 * Add string_view_body
3175 * Call on_chunk when the extension is empty
3176 * HTTP/1.1 is the default version
3177 * Try harder to find Boost (cmake)
3178 * Reset error codes
3179 * More basic_parser tests
3180 * Add an INTERFACE cmake target
3181 * Convert buffer in range loops
3182
3183 --------------------------------------------------------------------------------
3184
3185 Version 55:
3186
3187 * Don't allocate memory to handle obs-fold
3188 * Avoid a parser allocation using non-flat buffer
3189 * read_size replaces read_size_helper
3190
3191 --------------------------------------------------------------------------------
3192
3193 Version 54:
3194
3195 * static_buffer coverage
3196 * flat_buffer coverage
3197 * multi_buffer coverage
3198 * consuming_buffers members and coverage
3199 * basic_fields members and coverage
3200 * Add string_param
3201 * Retain ownership when reading using a message
3202 * Fix incorrect use of [[fallthrough]]
3203
3204 API Changes:
3205
3206 * basic_fields refactor
3207
3208 --------------------------------------------------------------------------------
3209
3210 Version 53:
3211
3212 * Fix basic_parser::maybe_flatten
3213 * Fix read_size_helper usage
3214
3215 --------------------------------------------------------------------------------
3216
3217 Version 52:
3218
3219 * flat_buffer is an AllocatorAwareContainer
3220 * Add drain_buffer class
3221
3222 API Changes:
3223
3224 * `auto_fragment` is a member of `stream`
3225 * `binary`, `text` are members of `stream`
3226 * read_buffer_size is a member of `stream`
3227 * read_message_max is a member of `stream`
3228 * `write_buffer_size` is a member of `stream`
3229 * `ping_callback` is a member of stream
3230 * Remove `opcode` from `read`, `async_read`
3231 * `read_frame` returns `bool` fin
3232 * `opcode` is private
3233 * finish(error_code&) is a BodyReader requirement
3234
3235 Actions Required:
3236
3237 * Change call sites which use `auto_fragment` with `set_option`
3238 to call `stream::auto_fragment` instead.
3239
3240 * Change call sites which use message_type with `set_option`
3241 to call `stream::binary` or `stream::text` instead.
3242
3243 * Change call sites which use `read_buffer_size` with `set_option` to
3244 call `stream::read_buffer_size` instead.
3245
3246 * Change call sites which use `read_message_max` with `set_option` to
3247 call `stream::read_message_max` instead.
3248
3249 * Change call sites which use `write_buffer_size` with `set_option` to
3250 call `stream::write_buffer_size` instead.
3251
3252 * Change call sites which use `ping_callback1 with `set_option` to
3253 call `stream::ping_callback` instead.
3254
3255 * Remove the `opcode` reference parameter from calls to synchronous
3256 and asynchronous read functions, replace the logic with calls to
3257 `stream::got_binary` and `stream::got_text` instead.
3258
3259 * Remove the `frame_info` parameter from all read frame call sites
3260
3261 * Check the return value 'fin' for calls to `read_frame`
3262
3263 * Change ReadHandlers passed to `async_read_frame` to have
3264 the signature `void(error_code, bool fin)`, use the `bool`
3265 to indicate if the frame is the last frame.
3266
3267 * Remove all occurrences of the `opcode` enum at call sites
3268
3269 --------------------------------------------------------------------------------
3270
3271 Version 51
3272
3273 * Fix operator<< for header
3274 * Tidy up file_body
3275 * Fix file_body::get() not setting the more flag correctly
3276 * Use BOOST_FALLTHROUGH
3277 * Use BOOST_STRINGIZE
3278 * DynamicBuffer benchmarks
3279 * Add construct, destroy to handler_alloc
3280 * Fix infinite loop in basic_parser
3281
3282 API Changes:
3283
3284 * Tune up static_buffer
3285 * multi_buffer implementation change
3286
3287 Actions Required:
3288
3289 * Call sites passing a number to multi_buffer's constructor
3290 will need to be adjusted, see the corresponding commit message.
3291
3292 --------------------------------------------------------------------------------
3293
3294 Version 50
3295
3296 * parser is constructible from other body types
3297 * Add field enumeration
3298 * Use allocator more in basic_fields
3299 * Fix basic_fields allocator awareness
3300 * Use field in basic_fields and call sites
3301 * Use field in basic_parser
3302 * Tidy up basic_fields, header, and field concepts
3303 * Fields concept work
3304 * Body documentation work
3305 * Add missing handler_alloc nested types
3306 * Fix chunk delimiter parsing
3307 * Fix test::pipe read_size
3308 * Fix chunk header parsing
3309
3310 API Changes:
3311
3312 * Remove header_parser
3313 * Add verb to on_request for parsers
3314 * Refactor prepare
3315 * Protect basic_fields special members
3316 * Remove message connection settings
3317 * Remove message free functions
3318 * Remove obsolete serializer allocator
3319 * http read_some, async_read_some don't return bytes
3320
3321 --------------------------------------------------------------------------------
3322
3323 Version 49
3324
3325 * Use <iosfwd> instead of <ostream>
3326
3327 HTTP:
3328
3329 * Add HEAD request example
3330
3331 API Changes:
3332
3333 * Refactor method and verb
3334 * Canonicalize string_view parameter types
3335 * Tidy up empty_body writer error
3336 * Refactor header status, reason, and target
3337
3338 --------------------------------------------------------------------------------
3339
3340 Version 48
3341
3342 * Make buffer_prefix_view public
3343 * Remove detail::sync_ostream
3344 * Tidy up core type traits
3345
3346 API Changes:
3347
3348 * Tidy up chunk decorator
3349 * Rename to buffer_cat_view
3350 * Consolidate parsers to parser.hpp
3351 * Rename to parser
3352
3353 --------------------------------------------------------------------------------
3354
3355 Version 47
3356
3357 * Disable operator<< for buffer_body
3358 * buffer_size overload for basic_multi_buffer::const_buffers_type
3359 * Fix undefined behavior in pausation
3360 * Fix leak in basic_flat_buffer
3361
3362 API Changes:
3363
3364 * Refactor treatment of request-method
3365 * Refactor treatment of status code and obsolete reason
3366 * Refactor HTTP serialization and parsing
3367
3368 --------------------------------------------------------------------------------
3369
3370 Version 46
3371
3372 * Add test::pipe
3373 * Documentation work
3374
3375 API Changes:
3376
3377 * Remove HTTP header aliases
3378 * Refactor HTTP serialization
3379 * Refactor type traits
3380
3381 --------------------------------------------------------------------------------
3382
3383 Version 45
3384
3385 * Workaround for boost::asio::basic_streambuf type check
3386 * Fix message doc image
3387 * Better test::enable_yield_to
3388 * Fix header::reason
3389 * Documentation work
3390 * buffer_view skips empty buffer sequences
3391 * Disable reverse_iterator buffer_view test
3392
3393 --------------------------------------------------------------------------------
3394
3395 Version 44
3396
3397 * Use BOOST_THROW_EXCEPTION
3398 * Tidy up read_size_helper and dynamic buffers
3399 * Require Boost 1.58.0 or later
3400 * Tidy up and make get_lowest_layer public
3401 * Use BOOST_STATIC_ASSERT
3402 * Fix async return values in docs
3403 * Fix README websocket example
3404 * Add buffers_adapter regression test
3405 * Tidy up is_dynamic_buffer traits test
3406 * Make buffers_adapter meet requirements
3407
3408 --------------------------------------------------------------------------------
3409
3410 Version 43
3411
3412 * Require Boost 1.64.0
3413 * Fix strict aliasing warnings in buffers_view
3414 * Tidy up buffer_prefix overloads and test
3415 * Add write limit to test::string_ostream
3416 * Additional constructors for consuming_buffers
3417
3418 --------------------------------------------------------------------------------
3419
3420 Version 42
3421
3422 * Fix javadoc typo
3423 * Add formal review notes
3424 * Make buffers_view a public interface
3425
3426 --------------------------------------------------------------------------------
3427
3428 Version 41
3429
3430 * Trim Appveyor matrix rows
3431 * Concept revision and documentation
3432 * Remove coveralls integration
3433 * Tidy up formal parameter names
3434
3435 WebSocket
3436
3437 * Tidy up websocket::close_code enum and constructors
3438
3439 API Changes
3440
3441 * Return http::error::end_of_stream on HTTP read eof
3442 * Remove placeholders
3443 * Rename prepare_buffer(s) to buffer_prefix
3444 * Remove handler helpers, tidy up hook invocations
3445
3446 --------------------------------------------------------------------------------
3447
3448 Version 40
3449
3450 * Add to_static_string
3451 * Consolidate get_lowest_layer in type_traits.hpp
3452 * Fix basic_streambuf movable trait
3453 * Tidy up .travis.yml
3454
3455 --------------------------------------------------------------------------------
3456
3457 Version 39
3458
3459 Beast versions are now identified by a single integer which
3460 is incremented on each merge. The macro BEAST_VERSION
3461 identifies the version number, currently at 39. A version
3462 setting commit will always be at the tip of the master
3463 and develop branches.
3464
3465 * Use beast::string_view alias
3466 * Fixed braced-init error with older gcc
3467
3468 HTTP
3469
3470 * Tidy up basic_parser javadocs
3471
3472 WebSocket:
3473
3474 * Add websocket async echo ssl server test:
3475 * Fix eof error on ssl::stream shutdown
3476
3477 API Changes:
3478
3479 * Refactor http::header contents
3480 * New ostream() returns dynamic buffer output stream
3481 * New buffers() replaces to_string()
3482 * Rename to multi_buffer, basic_multi_buffer
3483 * Rename to flat_buffer, basic_flat_buffer
3484 * Rename to static_buffer, static_buffer_n
3485 * Rename to buffered_read_stream
3486 * Harmonize concepts and identifiers with net-ts
3487 * Tidy up HTTP reason_string
3488
3489 --------------------------------------------------------------------------------
3490
3491 1.0.0-b38
3492
3493 * Refactor static_string
3494 * Refactor base64
3495 * Use static_string for WebSocket handshakes
3496 * Simplify get_lowest_layer test
3497 * Add test_allocator to extras/test
3498 * More flat_streambuf tests
3499 * WebSocket doc work
3500 * Prevent basic_fields operator[] assignment
3501
3502 API Changes:
3503
3504 * Refactor WebSocket error codes
3505 * Remove websocket::keep_alive option
3506
3507 --------------------------------------------------------------------------------
3508
3509 1.0.0-b37
3510
3511 * CMake hide command lines in .vcxproj Output windows"
3512 * Rename to detail::is_invocable
3513 * Rename project to http-bench
3514 * Fix flat_streambuf
3515 * Add ub sanitizer blacklist
3516 * Add -funsigned-char to asan build target
3517 * Fix narrowing warning in table constants
3518
3519 WebSocket:
3520
3521 * Add is_upgrade() free function
3522 * Document websocket::stream thread safety
3523 * Rename to websocket::detail::pausation
3524
3525 API Changes:
3526
3527 * Provide websocket::stream accept() overloads
3528 * Refactor websocket decorators
3529 * Move everything in basic_fields.hpp to fields.hpp
3530 * Rename to http::dynamic_body, consolidate header
3531
3532 --------------------------------------------------------------------------------
3533
3534 1.0.0-b36
3535
3536 * Update README.md
3537
3538 --------------------------------------------------------------------------------
3539
3540 1.0.0-b35
3541
3542 * Add Appveyor build scripts and badge
3543 * Tidy up MSVC CMake configuration
3544 * Make close_code a proper enum
3545 * Add flat_streambuf
3546 * Rename to BEAST_DOXYGEN
3547 * Update .gitignore for VS2017
3548 * Fix README.md CMake instructions
3549
3550 API Changes:
3551
3552 * New HTTP interfaces
3553 * Remove http::empty_body
3554
3555 --------------------------------------------------------------------------------
3556
3557 1.0.0-b34
3558
3559 * Fix and tidy up CMake build scripts
3560
3561 --------------------------------------------------------------------------------
3562
3563 1.0.0-b33
3564
3565 * Require Visual Studio 2015 Update 3 or later
3566
3567 HTTP
3568
3569 * Use fwrite return value in file_body
3570
3571 WebSocket
3572
3573 * Set internal state correctly when writing frames
3574 * Add decorator unit test
3575 * Add write_frames unit test
3576
3577 --------------------------------------------------------------------------------
3578
3579 1.0.0-b32
3580
3581 * Add io_service completion invariants test
3582 * Update CMake scripts for finding packages
3583
3584 API Changes:
3585
3586 * Remove http Writer suspend and resume feature
3587
3588 --------------------------------------------------------------------------------
3589
3590 1.0.0-b31
3591
3592 * Tidy up build settings
3593 * Add missing dynabuf_readstream member
3594
3595 WebSocket
3596
3597 * Move the handler, don't copy it
3598
3599 --------------------------------------------------------------------------------
3600
3601 1.0.0-b30
3602
3603 WebSocket
3604
3605 * Fix race in pings during reads
3606 * Fix race in close frames during reads
3607 * Fix race when write suspends
3608 * Allow concurrent websocket async ping and writes
3609
3610 --------------------------------------------------------------------------------
3611
3612 1.0.0-b29
3613
3614 * Fix compilation error in non-template class
3615 * Document type-pun in buffer_cat
3616 * Correctly check ostream modifier (/extras)
3617
3618 HTTP
3619
3620 * Fix Body requirements doc
3621 * Fix illegal HTTP characters accepted as hex zero
3622 * Fix Writer return value documentation
3623
3624 WebSocket
3625
3626 * Fix race in writes during reads
3627 * Fix doc link typo
3628
3629 --------------------------------------------------------------------------------
3630
3631 1.0.0-b28
3632
3633 * Split out and rename test stream classes
3634 * Restyle async result constructions
3635 * Fix HTTP split parse edge case
3636
3637 --------------------------------------------------------------------------------
3638
3639 1.0.0-b27
3640
3641 * Tidy up tests and docs
3642 * Add documentation building instructions
3643
3644 API Changes:
3645
3646 * Invoke callback on pings and pongs
3647 * Move basic_streambuf to streambuf.hpp
3648
3649 --------------------------------------------------------------------------------
3650
3651 1.0.0-b26
3652
3653 * Tidy up warnings and tests
3654
3655 --------------------------------------------------------------------------------
3656
3657 1.0.0-b25
3658
3659 * Fixes for WebSocket echo server
3660 * Fix 32-bit arm7 warnings
3661 * Remove unnecessary include
3662 * WebSocket server examples and test tidying
3663 * Fix deflate setup bug
3664
3665 API Changes:
3666
3667 * Better handler_ptr
3668
3669 --------------------------------------------------------------------------------
3670
3671 1.0.0-b24
3672
3673 * bjam use clang on MACOSX
3674 * Simplify Travis package install specification
3675 * Add optional yield_to arguments
3676 * Make decorator copyable
3677 * Add WebSocket permessage-deflate extension support
3678
3679 --------------------------------------------------------------------------------
3680
3681 1.0.0-b23
3682
3683 * Tune websocket echo server for performance
3684 * Add file and line number to thrown exceptions
3685 * Better logging in async echo server
3686 * Add copy special members
3687 * Fix message constructor and special members
3688 * Travis CI improvements
3689
3690 --------------------------------------------------------------------------------
3691
3692 1.0.0-b22
3693
3694 * Fix broken Intellisense
3695 * Implement the Asio deallocation-before-invocation guarantee
3696 * Add handler helpers
3697 * Avoid copies in handler_alloc
3698 * Update README.md example programs
3699 * Fix websocket stream read documentation
3700 * Disable Boost.Coroutine deprecation warning
3701 * Update documentation examples
3702
3703 --------------------------------------------------------------------------------
3704
3705 1.0.0-b21
3706
3707 * Remove extraneous includes
3708
3709 --------------------------------------------------------------------------------
3710
3711 1.0.0-b20
3712
3713 ZLib
3714
3715 * Add ZLib module
3716
3717 API Changes:
3718
3719 * Rename HTTP identifiers
3720
3721 --------------------------------------------------------------------------------
3722
3723 1.0.0-b19
3724
3725 * Boost library min/max guidance
3726 * Improvements to code coverage
3727 * Use boost::lexical_cast instead of std::to_string
3728 * Fix prepare_buffers value_type
3729 * Fix consuming_buffers value_type
3730 * Better buffer_cat
3731
3732 HTTP
3733
3734 * Make chunk_encode public
3735 * Add write, async_write, operator<< for message_headers
3736 * Add read, async_read for message_headers
3737 * Fix with_body example
3738
3739 WebSocket
3740
3741 * Optimize utf8 validation
3742 * Optimize mask operations
3743
3744 API Changes:
3745
3746 * Refactor message and message_headers declarations
3747 * prepared_buffers is private
3748 * consume_buffers is removed
3749
3750 --------------------------------------------------------------------------------
3751
3752 1.0.0-b18
3753
3754 * Increase optimization settings for MSVC builds
3755
3756 HTTP
3757
3758 * Check invariants in parse_op:
3759 * Clean up message docs
3760
3761 WebSocket
3762
3763 * Write buffer option does not change capacity
3764 * Close connection during async_read on close frame
3765 * Add pong, async pong to stream
3766
3767 Core
3768
3769 * Meet DynamicBuffer requirements for static_streambuf
3770 * Fix write_frame masking and auto-fragment handling
3771
3772 Extras
3773
3774 * unit_test::suite fixes:
3775 - New overload of fail() specifies file and line
3776 - BEAST_EXPECTS only evaluates the reason string on a failure
3777 * Add zlib module
3778
3779 --------------------------------------------------------------------------------
3780
3781 1.0.0-b17
3782
3783 * Change implicit to default value in example
3784 * Tidy up some declarations
3785 * Fix basic_streambuf::capacity
3786 * Add basic_streambuf::alloc_size
3787 * Parser callbacks may not throw
3788 * Fix Reader concept doc typo
3789 * Add is_Reader trait
3790 * Tidy up basic_headers for documentation
3791 * Tidy up documentation
3792 * Add basic_parser_v1::reset
3793 * Fix handling of body_what::pause in basic_parser_v1
3794 * Add headers_parser
3795 * Engaged invokable is destructible
3796 * Improve websocket example in README.md
3797 * Refactor read_size_helper
3798
3799 API Changes:
3800
3801 * Added init() to Reader requirements
3802 * Reader must be nothrow constructible
3803 * Reader is now constructed right before reading the body
3804 - The message passed on construction is filled in
3805 * Rework HTTP concepts:
3806 - Writer uses write instead of operator()
3807 - Refactor traits to use void_t
3808 - Remove is_ReadableBody, is_WritableBody
3809 - Add has_reader, has_writer, is_Reader, is_Writer
3810 - More friendly compile errors on failed concept checks
3811 * basic_parser_v1 requires all callbacks present
3812 * on_headers parser callback now returns void
3813 * on_body_what is a new required parser callback returning body_what
3814
3815 --------------------------------------------------------------------------------
3816
3817 1.0.0-b16
3818
3819 * Make value optional in param-list
3820 * Frame processing routines are member functions
3821 * Fix on_headers called twice from basic_parser_v1
3822 * Constrain parser_v1 constructor
3823 * Improve first line serialization
3824 * Add pause option to on_headers interface
3825 * Refactor base_parser_v1 callback traits:
3826 * Refine Parser concept
3827 * Relax ForwardIterator requirements in FieldSequence
3828 * Fix websocket failure testing
3829 * Refine Writer concept and fix exemplar in documentation
3830
3831 API Changes:
3832
3833 * Rename mask_buffer_size to write_buffer_size
3834 * Make auto_fragment a boolean option
3835
3836 The message class hierarchy is refactored (breaking change):
3837
3838 * One message class now models both HTTP/1 and HTTP/2 messages
3839 * message_v1, request_v1, response_v1 removed
3840 * New classes basic_request and basic_response model
3841 messages without the body.
3842
3843 Error resolution: Callers should use message, request,
3844 and response instead of message_v1, request_v1, and
3845 response_v1 respectively.
3846
3847 --------------------------------------------------------------------------------
3848
3849 1.0.0-b15
3850
3851 * rfc7230 section 3.3.2 compliance
3852 * Add HTTPS example
3853 * Add Secure WebSocket example
3854 * Fix message_v1 constructor
3855 * Tidy up DynamicBuffer requirements
3856 * Tidy up error types and headers
3857 * Fix handling empty HTTP headers in parser_v1
3858
3859 --------------------------------------------------------------------------------
3860
3861 1.0.0-b14
3862
3863 * Add missing rebind to handler_alloc
3864 * Fix error handling in http server examples
3865 * Fix CMake scripts for MinGW
3866 * Use BOOST_ASSERT
3867 * Better WebSocket decorator
3868 * Update and tidy documentation
3869
3870 --------------------------------------------------------------------------------
3871
3872 1.0.0-b13
3873
3874 * dstream improvements
3875 * Remove bin and bin64 directories
3876 * Tidy up .vcxproj file groupings
3877
3878 --------------------------------------------------------------------------------
3879
3880 1.0.0-b12
3881
3882 * Use -p to print suites from unit test main.
3883 * BEAST_EXPECTS to add a reason string to test failures
3884 * Fix unit test runner to output all case names
3885 * Update README for build requirements
3886 * Rename to CHANGELOG.md
3887
3888 --------------------------------------------------------------------------------
3889
3890 1.0.0-b11
3891
3892 * Set URI in generated WebSocket Upgrade requests
3893 * Rename echo server class and file names
3894 * Rename to DynamicBuffer in some code and documentation
3895 * Fix integer warnings in Windows builds
3896 * Add 32 and 64 bit Windows build support
3897 * Update README for build instructions and more
3898 * Add repository and documentation banners
3899
3900 --------------------------------------------------------------------------------
3901
3902 1.0.0-b10
3903
3904 * Fix compilation warnings
3905 * Add websocketpp comparison to HTML documentation
3906
3907 --------------------------------------------------------------------------------
3908
3909 1.0.0-b9
3910
3911 * Fix CMakeLists.txt
3912
3913 --------------------------------------------------------------------------------
3914
3915 1.0.0-b8
3916
3917 * Fix include in example code
3918 * Fix basic_headers rfc2616 Section 4.2 compliance
3919
3920 --------------------------------------------------------------------------------
3921
3922 1.0.0-b7
3923
3924 * Fix prepare by calling init. prepare() can throw depending on the
3925 implementation of Writer. Publicly provided beast::http writers never throw.
3926 * Fixes to example HTTP server
3927 * Fully qualify ambiguous calls to read and parse
3928 * Remove deprecated http::stream wrapper
3929 * Example HTTP server now calculates the MIME-type
3930 * Fixes and documentation for teardown and use with SSL:
3931 * Add example code to rfc7230 javadocs
3932 * Remove extraneous header file <beast/http/status.hpp>
3933 * Add skip_body parser option
3934
3935 --------------------------------------------------------------------------------
3936
3937 1.0.0-b6
3938
3939 * Use SFINAE on return values
3940 * Use beast::error_code instead of nested types
3941 * Tidy up use of GENERATING_DOCS
3942 * Remove obsolete RFC2616 functions
3943 * Add message swap members and free functions
3944 * Add HTTP field value parser containers: ext_list, param_list, token_list
3945 * Fixes for some corner cases in basic_parser_v1
3946 * Configurable limits on headers and body sizes in basic_parser_v1
3947
3948 API Changes:
3949
3950 * ci_equal is moved to beast::http namespace, in rfc7230.hpp
3951
3952 * "DynamicBuffer","dynabuf" renamed from "Streambuf", "streambuf". See:
3953 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4478.html#requirements.dynamic_buffers
3954
3955 * basic_parser_v1 adheres to rfc7230 as strictly as possible
3956
3957 --------------------------------------------------------------------------------