mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-30 23:45:48 +00:00
Update to use latest beast
This commit is contained in:
@@ -266,13 +266,15 @@
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\config.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\async_completion.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\async_result.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\bind_handler.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\buffered_read_stream.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\buffer_cat.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\buffer_concepts.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\buffer_prefix.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\consuming_buffers.hpp">
|
||||
</ClInclude>
|
||||
@@ -280,155 +282,183 @@
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\bind_handler.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\buffer_cat.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\buffer_concepts.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\ci_char_traits.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\buffers_ref.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\clamp.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\empty_base_optimization.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\config.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\get_lowest_layer.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\cpu_info.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\empty_base_optimization.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\integer_sequence.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\is_call_possible.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\in_place_init.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\prepare_buffers.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\ostream.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\sha1.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\stream_concepts.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\static_ostream.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\sync_ostream.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\static_string.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\type_traits.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\write_dynabuf.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\dynabuf_readstream.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\error.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file_base.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file_posix.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file_stdio.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file_win32.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\handler_alloc.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\handler_concepts.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\handler_helpers.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\handler_ptr.hpp">
|
||||
</ClInclude>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\buffered_read_stream.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\buffer_cat.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\buffer_prefix.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\consuming_buffers.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\dynabuf_readstream.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\file_posix.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\file_stdio.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\file_win32.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\handler_ptr.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\static_streambuf.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\multi_buffer.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\streambuf.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\read_size.ipp">
|
||||
</None>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\placeholders.hpp">
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\static_buffer.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\static_string.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\string_param.ipp">
|
||||
</None>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\multi_buffer.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\prepare_buffer.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\ostream.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\prepare_buffers.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\read_size.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\static_streambuf.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\span.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\static_buffer.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\static_string.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\streambuf.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\string.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\stream_concepts.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\string_param.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\to_string.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\write_dynabuf.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\type_traits.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\basic_dynabuf_body.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\basic_parser.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\basic_fields.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\buffer_body.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\basic_parser_v1.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\basic_parsed_list.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\chunk_encode.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\concepts.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\basic_fields.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\basic_parser_v1.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\basic_parser.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\chunk_encode.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\rfc7230.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\type_traits.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\dynamic_body.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\empty_body.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\error.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\field.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\fields.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\header_parser_v1.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\file_body.hpp">
|
||||
</ClInclude>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\basic_fields.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\basic_parser.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\basic_parser_v1.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\error.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\field.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\fields.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\file_body_win32.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\message.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\parse.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\parse_error.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\parser.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\read.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\rfc7230.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\serializer.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\status.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\verb.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\write.ipp">
|
||||
</None>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\message.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\parse.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\parser_v1.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\parse_error.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\parser.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\read.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\reason.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\rfc7230.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\streambuf_body.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\serializer.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\span_body.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\status.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\string_body.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\type_traits.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\vector_body.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\verb.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\write.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\version.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\decorator.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\endian.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\frame.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\hybi13.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\invokable.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\mask.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\pausation.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\pmd_extension.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\stream_base.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\type_traits.hpp">
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\utf8_checker.hpp">
|
||||
</ClInclude>
|
||||
@@ -446,6 +476,8 @@
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\websocket\impl\read.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\websocket\impl\rfc6455.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\websocket\impl\ssl.ipp">
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\websocket\impl\stream.ipp">
|
||||
|
||||
@@ -558,16 +558,19 @@
|
||||
<ClInclude Include="..\..\src\beast\include\beast\config.hpp">
|
||||
<Filter>beast</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\async_completion.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\async_result.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\bind_handler.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\buffered_read_stream.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\buffer_cat.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\buffer_concepts.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\buffer_prefix.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\consuming_buffers.hpp">
|
||||
@@ -579,130 +582,145 @@
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\bind_handler.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\buffer_cat.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\buffer_concepts.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\ci_char_traits.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\buffers_ref.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\clamp.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\empty_base_optimization.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\config.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\get_lowest_layer.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\cpu_info.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\empty_base_optimization.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\integer_sequence.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\is_call_possible.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\in_place_init.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\prepare_buffers.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\ostream.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\sha1.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\stream_concepts.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\static_ostream.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\sync_ostream.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\static_string.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\type_traits.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\detail\write_dynabuf.hpp">
|
||||
<Filter>beast\core\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\dynabuf_readstream.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\error.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\error.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file_base.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file_posix.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file_stdio.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\file_win32.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\handler_alloc.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\handler_concepts.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\handler_helpers.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\handler_ptr.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\buffered_read_stream.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\buffer_cat.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\buffer_prefix.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\consuming_buffers.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\dynabuf_readstream.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\file_posix.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\file_stdio.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\file_win32.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\handler_ptr.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\static_streambuf.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\multi_buffer.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\streambuf.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\read_size.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\placeholders.hpp">
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\static_buffer.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\static_string.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\core\impl\string_param.ipp">
|
||||
<Filter>beast\core\impl</Filter>
|
||||
</None>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\multi_buffer.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\prepare_buffer.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\ostream.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\prepare_buffers.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\read_size.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\static_streambuf.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\span.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\static_buffer.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\static_string.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\streambuf.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\string.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\stream_concepts.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\string_param.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\to_string.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\write_dynabuf.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\core\type_traits.hpp">
|
||||
<Filter>beast\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http.hpp">
|
||||
<Filter>beast</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\basic_dynabuf_body.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\basic_parser.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\basic_fields.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\buffer_body.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\basic_parser_v1.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\chunk_encode.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\concepts.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\basic_fields.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\basic_parsed_list.hpp">
|
||||
<Filter>beast\http\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\basic_parser_v1.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\basic_parser.hpp">
|
||||
<Filter>beast\http\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\chunk_encode.hpp">
|
||||
@@ -711,28 +729,46 @@
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\rfc7230.hpp">
|
||||
<Filter>beast\http\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\detail\type_traits.hpp">
|
||||
<Filter>beast\http\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\dynamic_body.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\empty_body.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\error.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\field.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\fields.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\header_parser_v1.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\file_body.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\basic_fields.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\basic_parser.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\basic_parser_v1.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\error.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\field.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\fields.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\file_body_win32.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\message.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\parse.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\parse_error.ipp">
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\parser.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\read.ipp">
|
||||
@@ -741,36 +777,51 @@
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\rfc7230.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\serializer.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\status.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\verb.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\http\impl\write.ipp">
|
||||
<Filter>beast\http\impl</Filter>
|
||||
</None>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\message.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\parse.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\parser_v1.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\parse_error.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\parser.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\read.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\reason.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\rfc7230.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\streambuf_body.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\serializer.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\span_body.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\status.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\string_body.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\type_traits.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\vector_body.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\verb.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\http\write.hpp">
|
||||
<Filter>beast\http</Filter>
|
||||
</ClInclude>
|
||||
@@ -780,28 +831,22 @@
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket.hpp">
|
||||
<Filter>beast</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\decorator.hpp">
|
||||
<Filter>beast\websocket\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\endian.hpp">
|
||||
<Filter>beast\websocket\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\frame.hpp">
|
||||
<Filter>beast\websocket\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\hybi13.hpp">
|
||||
<Filter>beast\websocket\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\invokable.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\mask.hpp">
|
||||
<Filter>beast\websocket\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\mask.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\pausation.hpp">
|
||||
<Filter>beast\websocket\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\pmd_extension.hpp">
|
||||
<Filter>beast\websocket\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\stream_base.hpp">
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\type_traits.hpp">
|
||||
<Filter>beast\websocket\detail</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\beast\include\beast\websocket\detail\utf8_checker.hpp">
|
||||
@@ -828,6 +873,9 @@
|
||||
<None Include="..\..\src\beast\include\beast\websocket\impl\read.ipp">
|
||||
<Filter>beast\websocket\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\websocket\impl\rfc6455.ipp">
|
||||
<Filter>beast\websocket\impl</Filter>
|
||||
</None>
|
||||
<None Include="..\..\src\beast\include\beast\websocket\impl\ssl.ipp">
|
||||
<Filter>beast\websocket\impl</Filter>
|
||||
</None>
|
||||
|
||||
@@ -1571,7 +1571,7 @@ bool ApplicationImp::loadOldLedger (
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (ledgerID.empty () || beast::detail::ci_equal(ledgerID, "latest"))
|
||||
else if (ledgerID.empty () || beast::detail::iequals(ledgerID, "latest"))
|
||||
{
|
||||
loadLedger = getLastFullLedger ();
|
||||
}
|
||||
|
||||
@@ -180,10 +180,10 @@ WorkBase<Impl>::onStart()
|
||||
req_.method(beast::http::verb::get);
|
||||
req_.target(path_.empty() ? "/" : path_);
|
||||
req_.version = 11;
|
||||
req_.replace (
|
||||
req_.set (
|
||||
"Host", host_ + ":" + port_);
|
||||
req_.replace ("User-Agent", BuildInfo::getFullVersionString());
|
||||
req_.prepare();
|
||||
req_.set ("User-Agent", BuildInfo::getFullVersionString());
|
||||
req_.prepare_payload();
|
||||
beast::http::async_write(impl().stream(), req_,
|
||||
strand_.wrap (std::bind (&WorkBase::onRequest,
|
||||
impl().shared_from_this(), std::placeholders::_1)));
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <ripple/basics/contract.h>
|
||||
#include <beast/unit_test/detail/const_container.hpp>
|
||||
#include <beast/core/detail/ci_char_traits.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
#include <map>
|
||||
@@ -41,7 +41,7 @@ using IniFileSections = std::map<std::string, std::vector<std::string>>;
|
||||
*/
|
||||
class Section
|
||||
: public beast::unit_test::detail::const_container <
|
||||
std::map <std::string, std::string, beast::detail::ci_less>>
|
||||
std::map <std::string, std::string, beast::iless>>
|
||||
{
|
||||
private:
|
||||
std::string name_;
|
||||
@@ -173,7 +173,7 @@ public:
|
||||
class BasicConfig
|
||||
{
|
||||
private:
|
||||
std::map <std::string, Section, beast::detail::ci_less> map_;
|
||||
std::map <std::string, Section, beast::iless> map_;
|
||||
|
||||
public:
|
||||
/** Returns `true` if a section with the given name exists. */
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#define RIPPLE_BASICS_LOG_H_INCLUDED
|
||||
|
||||
#include <ripple/basics/UnorderedContainers.h>
|
||||
#include <beast/core/detail/ci_char_traits.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <ripple/beast/utility/Journal.h>
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <map>
|
||||
@@ -148,7 +148,7 @@ private:
|
||||
std::mutex mutable mutex_;
|
||||
std::map <std::string,
|
||||
std::unique_ptr<beast::Journal::Sink>,
|
||||
beast::detail::ci_less> sinks_;
|
||||
beast::iless> sinks_;
|
||||
beast::severities::Severity thresh_;
|
||||
File file_;
|
||||
bool silent_ = false;
|
||||
|
||||
@@ -220,11 +220,15 @@ static
|
||||
void
|
||||
info_handler (SSL const* ssl, int event, int)
|
||||
{
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
if ((ssl->s3) && (event & SSL_CB_HANDSHAKE_START))
|
||||
{
|
||||
if (disallowRenegotiation (ssl, SSL_in_before (ssl)))
|
||||
ssl->s3->flags |= SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS;
|
||||
}
|
||||
#else
|
||||
// empty, flag removed in OpenSSL 1.1
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -448,4 +452,3 @@ make_SSLContextAuthed (
|
||||
}
|
||||
|
||||
} // ripple
|
||||
|
||||
|
||||
@@ -279,7 +279,7 @@ split_commas(FwdIt first, FwdIt last)
|
||||
|
||||
template <class Result = std::vector<std::string>>
|
||||
Result
|
||||
split_commas(boost::string_ref const& s)
|
||||
split_commas(beast::string_view const& s)
|
||||
{
|
||||
return split_commas(s.begin(), s.end());
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <ripple/basics/base_uint.h>
|
||||
#include <ripple/protocol/SystemParameters.h> // VFALCO Breaks levelization
|
||||
#include <ripple/beast/net/IPEndpoint.h>
|
||||
#include <beast/core/detail/ci_char_traits.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <ripple/beast/utility/Journal.h>
|
||||
#include <boost/asio/ip/tcp.hpp> // VFALCO FIX: This include should not be here
|
||||
#include <boost/filesystem.hpp> // VFALCO FIX: This include should not be here
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <ripple/protocol/SystemParameters.h>
|
||||
#include <ripple/net/HTTPClient.h>
|
||||
#include <ripple/beast/core/LexicalCast.h>
|
||||
#include <beast/core/detail/ci_char_traits.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/format.hpp>
|
||||
#include <boost/regex.hpp>
|
||||
@@ -325,15 +325,15 @@ void Config::loadFromString (std::string const& fileContents)
|
||||
|
||||
if (getSingleSection (secConfig, SECTION_NODE_SIZE, strTemp, j_))
|
||||
{
|
||||
if (beast::detail::ci_equal(strTemp, "tiny"))
|
||||
if (beast::detail::iequals(strTemp, "tiny"))
|
||||
NODE_SIZE = 0;
|
||||
else if (beast::detail::ci_equal(strTemp, "small"))
|
||||
else if (beast::detail::iequals(strTemp, "small"))
|
||||
NODE_SIZE = 1;
|
||||
else if (beast::detail::ci_equal(strTemp, "medium"))
|
||||
else if (beast::detail::iequals(strTemp, "medium"))
|
||||
NODE_SIZE = 2;
|
||||
else if (beast::detail::ci_equal(strTemp, "large"))
|
||||
else if (beast::detail::iequals(strTemp, "large"))
|
||||
NODE_SIZE = 3;
|
||||
else if (beast::detail::ci_equal(strTemp, "huge"))
|
||||
else if (beast::detail::iequals(strTemp, "huge"))
|
||||
NODE_SIZE = 4;
|
||||
else
|
||||
{
|
||||
@@ -380,9 +380,9 @@ void Config::loadFromString (std::string const& fileContents)
|
||||
|
||||
if (getSingleSection (secConfig, SECTION_LEDGER_HISTORY, strTemp, j_))
|
||||
{
|
||||
if (beast::detail::ci_equal(strTemp, "full"))
|
||||
if (beast::detail::iequals(strTemp, "full"))
|
||||
LEDGER_HISTORY = 1000000000u;
|
||||
else if (beast::detail::ci_equal(strTemp, "none"))
|
||||
else if (beast::detail::iequals(strTemp, "none"))
|
||||
LEDGER_HISTORY = 0;
|
||||
else
|
||||
LEDGER_HISTORY = beast::lexicalCastThrow <std::uint32_t> (strTemp);
|
||||
@@ -390,9 +390,9 @@ void Config::loadFromString (std::string const& fileContents)
|
||||
|
||||
if (getSingleSection (secConfig, SECTION_FETCH_DEPTH, strTemp, j_))
|
||||
{
|
||||
if (beast::detail::ci_equal(strTemp, "none"))
|
||||
if (beast::detail::iequals(strTemp, "none"))
|
||||
FETCH_DEPTH = 0;
|
||||
else if (beast::detail::ci_equal(strTemp, "full"))
|
||||
else if (beast::detail::iequals(strTemp, "full"))
|
||||
FETCH_DEPTH = 1000000000u;
|
||||
else
|
||||
FETCH_DEPTH = beast::lexicalCastThrow <std::uint32_t> (strTemp);
|
||||
|
||||
@@ -20,19 +20,19 @@
|
||||
#ifndef RIPPLE_JSON_OUTPUT_H_INCLUDED
|
||||
#define RIPPLE_JSON_OUTPUT_H_INCLUDED
|
||||
|
||||
#include <boost/utility/string_ref.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <functional>
|
||||
|
||||
namespace Json {
|
||||
|
||||
class Value;
|
||||
|
||||
using Output = std::function <void (boost::string_ref const&)>;
|
||||
using Output = std::function <void (beast::string_view const&)>;
|
||||
|
||||
inline
|
||||
Output stringOutput (std::string& s)
|
||||
{
|
||||
return [&](boost::string_ref const& b) { s.append (b.data(), b.size()); };
|
||||
return [&](beast::string_view const& b) { s.append (b.data(), b.size()); };
|
||||
}
|
||||
|
||||
/** Writes a minimal representation of a Json value to an Output in O(n) time.
|
||||
|
||||
@@ -93,13 +93,13 @@ public:
|
||||
stack_.top().type = ct;
|
||||
}
|
||||
|
||||
void output (boost::string_ref const& bytes)
|
||||
void output (beast::string_view const& bytes)
|
||||
{
|
||||
markStarted ();
|
||||
output_ (bytes);
|
||||
}
|
||||
|
||||
void stringOutput (boost::string_ref const& bytes)
|
||||
void stringOutput (beast::string_view const& bytes)
|
||||
{
|
||||
markStarted ();
|
||||
std::size_t position = 0, writtenUntil = 0;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <ripple/protocol/types.h>
|
||||
#include <ripple/rpc/ServerHandler.h>
|
||||
#include <ripple/beast/core/LexicalCast.h>
|
||||
#include <beast/core/detail/ci_char_traits.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <boost/asio/streambuf.hpp>
|
||||
#include <boost/regex.hpp>
|
||||
#include <array>
|
||||
@@ -423,9 +423,9 @@ private:
|
||||
// This may look reversed, but it's intentional: jss::vetoed
|
||||
// determines whether an amendment is vetoed - so "reject" means
|
||||
// that jss::vetoed is true.
|
||||
if (beast::detail::ci_equal(action, "reject"))
|
||||
if (beast::detail::iequals(action, "reject"))
|
||||
jvRequest[jss::vetoed] = Json::Value (true);
|
||||
else if (beast::detail::ci_equal(action, "accept"))
|
||||
else if (beast::detail::iequals(action, "accept"))
|
||||
jvRequest[jss::vetoed] = Json::Value (false);
|
||||
else
|
||||
return rpcError (rpcINVALID_PARAMS);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <ripple/basics/contract.h>
|
||||
#include <ripple/nodestore/Factory.h>
|
||||
#include <ripple/nodestore/Manager.h>
|
||||
#include <beast/core/detail/ci_char_traits.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
@@ -40,7 +40,7 @@ class MemoryFactory : public Factory
|
||||
{
|
||||
private:
|
||||
std::mutex mutex_;
|
||||
std::map <std::string, MemoryDB, beast::detail::ci_less> map_;
|
||||
std::map <std::string, MemoryDB, beast::iless> map_;
|
||||
|
||||
public:
|
||||
MemoryFactory();
|
||||
|
||||
@@ -128,7 +128,7 @@ ManagerImp::find (std::string const& name)
|
||||
auto const iter = std::find_if(list_.begin(), list_.end(),
|
||||
[&name](Factory* other)
|
||||
{
|
||||
return beast::detail::ci_equal(name, other->getName());
|
||||
return beast::detail::iequals(name, other->getName());
|
||||
} );
|
||||
if (iter == list_.end())
|
||||
return nullptr;
|
||||
|
||||
@@ -33,14 +33,13 @@
|
||||
#include <ripple/overlay/impl/ConnectAttempt.h>
|
||||
#include <ripple/overlay/impl/OverlayImpl.h>
|
||||
#include <ripple/overlay/impl/PeerImp.h>
|
||||
#include <ripple/overlay/impl/TMHello.h>
|
||||
#include <ripple/peerfinder/make_Manager.h>
|
||||
#include <ripple/protocol/STExchange.h>
|
||||
#include <ripple/beast/core/ByteOrder.h>
|
||||
#include <beast/core/detail/base64.hpp>
|
||||
#include <ripple/beast/core/LexicalCast.h>
|
||||
#include <beast/http.hpp>
|
||||
#include <beast/core/detail/ci_char_traits.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <ripple/beast/utility/WrappedSink.h>
|
||||
|
||||
#include <boost/utility/in_place_factory.hpp>
|
||||
@@ -223,7 +222,7 @@ OverlayImpl::onHandoff (std::unique_ptr <beast::asio::ssl_bundle>&& ssl_bundle,
|
||||
if (std::find_if(types.begin(), types.end(),
|
||||
[](std::string const& s)
|
||||
{
|
||||
return beast::detail::ci_equal(s, "peer");
|
||||
return beast::detail::iequals(s, "peer");
|
||||
}) == types.end())
|
||||
{
|
||||
handoff.moved = false;
|
||||
@@ -313,32 +312,6 @@ OverlayImpl::onHandoff (std::unique_ptr <beast::asio::ssl_bundle>&& ssl_bundle,
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
template<class Fields>
|
||||
static
|
||||
bool
|
||||
is_upgrade(beast::http::header<true, Fields> const& req)
|
||||
{
|
||||
if(req.version < 11)
|
||||
return false;
|
||||
if(req.method() != beast::http::verb::get)
|
||||
return false;
|
||||
if(! beast::http::token_list{req["Connection"]}.exists("upgrade"))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
template<class Fields>
|
||||
static
|
||||
bool
|
||||
is_upgrade(beast::http::header<false, Fields> const& req)
|
||||
{
|
||||
if(req.version < 11)
|
||||
return false;
|
||||
if(! beast::http::token_list{req["Connection"]}.exists("upgrade"))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
OverlayImpl::isPeerUpgrade(http_request_type const& request)
|
||||
{
|
||||
@@ -377,7 +350,7 @@ OverlayImpl::makeRedirectResponse (PeerFinder::Slot::ptr const& slot,
|
||||
for (auto const& _ : m_peerFinder->redirect(slot))
|
||||
ips.append(_.address.to_string());
|
||||
}
|
||||
msg.prepare();
|
||||
msg.prepare_payload();
|
||||
return std::make_shared<SimpleWriter>(msg);
|
||||
}
|
||||
|
||||
@@ -394,7 +367,7 @@ OverlayImpl::makeErrorResponse (PeerFinder::Slot::ptr const& slot,
|
||||
msg.insert("Remote-Address", remote_address.to_string());
|
||||
msg.insert(beast::http::field::connection, "close");
|
||||
msg.body = text;
|
||||
msg.prepare();
|
||||
msg.prepare_payload();
|
||||
return std::make_shared<SimpleWriter>(msg);
|
||||
}
|
||||
|
||||
@@ -849,7 +822,7 @@ OverlayImpl::processRequest (http_request_type const& req,
|
||||
msg.insert("Content-Type", "application/json");
|
||||
msg.insert("Connection", "close");
|
||||
msg.body["overlay"] = crawl();
|
||||
msg.prepare();
|
||||
msg.prepare_payload();
|
||||
handoff.response = std::make_shared<SimpleWriter>(msg);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <ripple/basics/Resolver.h>
|
||||
#include <ripple/basics/chrono.h>
|
||||
#include <ripple/basics/UnorderedContainers.h>
|
||||
#include <ripple/overlay/impl/TMHello.h>
|
||||
#include <ripple/peerfinder/PeerfinderManager.h>
|
||||
#include <ripple/resource/ResourceManager.h>
|
||||
#include <boost/asio/ip/tcp.hpp>
|
||||
@@ -264,6 +265,32 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
template<class Fields>
|
||||
static
|
||||
bool
|
||||
is_upgrade(beast::http::header<true, Fields> const& req)
|
||||
{
|
||||
if(req.version < 11)
|
||||
return false;
|
||||
if(req.method() != beast::http::verb::get)
|
||||
return false;
|
||||
if(! beast::http::token_list{req["Connection"]}.exists("upgrade"))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
template<class Fields>
|
||||
static
|
||||
bool
|
||||
is_upgrade(beast::http::header<false, Fields> const& req)
|
||||
{
|
||||
if(req.version < 11)
|
||||
return false;
|
||||
if(! beast::http::token_list{req["Connection"]}.exists("upgrade"))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
static
|
||||
std::string
|
||||
makePrefix (std::uint32_t id);
|
||||
|
||||
@@ -249,7 +249,7 @@ PeerImp::crawl() const
|
||||
auto const iter = headers_.find("Crawl");
|
||||
if (iter == headers_.end())
|
||||
return false;
|
||||
return beast::detail::ci_equal(iter->value(), "public");
|
||||
return beast::detail::iequals(iter->value(), "public");
|
||||
}
|
||||
|
||||
std::string
|
||||
|
||||
@@ -188,7 +188,7 @@ appendHello (beast::http::fields& h,
|
||||
}
|
||||
|
||||
std::vector<ProtocolVersion>
|
||||
parse_ProtocolVersions(boost::string_ref const& value)
|
||||
parse_ProtocolVersions(beast::string_view const& value)
|
||||
{
|
||||
static boost::regex re (
|
||||
"^" // start of line
|
||||
|
||||
@@ -84,7 +84,7 @@ verifyHello (protocol::TMHello const& h, uint256 const& sharedValue,
|
||||
excluded from the result set.
|
||||
*/
|
||||
std::vector<ProtocolVersion>
|
||||
parse_ProtocolVersions(boost::string_ref const& s);
|
||||
parse_ProtocolVersions(beast::string_view const& s);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ unauthorizedResponse(
|
||||
msg.insert("Content-Type", "text/html");
|
||||
msg.insert("Connection", "close");
|
||||
msg.body = "Invalid protocol.";
|
||||
msg.prepare();
|
||||
msg.prepare_payload();
|
||||
handoff.response = std::make_shared<SimpleWriter>(msg);
|
||||
return handoff;
|
||||
}
|
||||
@@ -251,7 +251,7 @@ ServerHandlerImp::onHandoff (Session& session,
|
||||
static inline
|
||||
Json::Output makeOutput (Session& session)
|
||||
{
|
||||
return [&](boost::string_ref const& b)
|
||||
return [&](beast::string_view const& b)
|
||||
{
|
||||
session.write (b.data(), b.size());
|
||||
};
|
||||
@@ -744,7 +744,7 @@ ServerHandlerImp::statusResponse(
|
||||
msg.insert("Server", BuildInfo::getFullVersionString());
|
||||
msg.insert("Content-Type", "text/html");
|
||||
msg.insert("Connection", "close");
|
||||
msg.prepare();
|
||||
msg.prepare_payload();
|
||||
handoff.response = std::make_shared<SimpleWriter>(msg);
|
||||
return handoff;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <ripple/basics/BasicConfig.h>
|
||||
#include <ripple/beast/net/IPEndpoint.h>
|
||||
#include <beast/core/detail/ci_char_traits.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <beast/websocket/option.hpp>
|
||||
#include <boost/asio/ip/address.hpp>
|
||||
#include <cstdint>
|
||||
@@ -40,7 +40,7 @@ struct Port
|
||||
std::string name;
|
||||
boost::asio::ip::address ip;
|
||||
std::uint16_t port = 0;
|
||||
std::set<std::string, beast::detail::ci_less> protocol;
|
||||
std::set<std::string, beast::iless> protocol;
|
||||
std::vector<beast::IP::Address> admin_ip;
|
||||
std::vector<beast::IP::Address> secure_gateway_ip;
|
||||
std::string user;
|
||||
@@ -79,7 +79,7 @@ operator<< (std::ostream& os, Port const& p);
|
||||
struct ParsedPort
|
||||
{
|
||||
std::string name;
|
||||
std::set<std::string, beast::detail::ci_less> protocol;
|
||||
std::set<std::string, beast::iless> protocol;
|
||||
std::string user;
|
||||
std::string password;
|
||||
std::string admin_user;
|
||||
|
||||
@@ -359,7 +359,6 @@ on_write(error_code const& ec,
|
||||
for(auto const& b : wq2_)
|
||||
v.emplace_back(b.data.get(), b.bytes);
|
||||
start_timer();
|
||||
using namespace beast::asio;
|
||||
return boost::asio::async_write(impl().stream_, v,
|
||||
strand_.wrap(std::bind(&BaseHTTPPeer::on_write,
|
||||
impl().shared_from_this(), std::placeholders::_1,
|
||||
|
||||
@@ -141,8 +141,8 @@ protected:
|
||||
on_ping(error_code const& ec);
|
||||
|
||||
void
|
||||
on_ping_pong(bool is_pong,
|
||||
beast::websocket::ping_data const& payload);
|
||||
on_ping_pong(beast::websocket::frame_type kind,
|
||||
beast::string_view payload);
|
||||
|
||||
void
|
||||
on_timer(error_code ec);
|
||||
@@ -180,16 +180,15 @@ run()
|
||||
return strand_.post(std::bind(
|
||||
&BaseWSPeer::run, impl().shared_from_this()));
|
||||
impl().ws_.set_option(port().pmd_options);
|
||||
impl().ws_.ping_callback(
|
||||
impl().ws_.control_callback(
|
||||
std::bind(&BaseWSPeer::on_ping_pong, this,
|
||||
std::placeholders::_1, std::placeholders::_2));
|
||||
using namespace beast::asio;
|
||||
start_timer();
|
||||
close_on_timer_ = true;
|
||||
impl().ws_.async_accept_ex(request_,
|
||||
[](auto & res)
|
||||
{
|
||||
res.replace(beast::http::field::server,
|
||||
res.set(beast::http::field::server,
|
||||
BuildInfo::getFullVersionString());
|
||||
},
|
||||
strand_.wrap(std::bind(&BaseWSPeer::on_ws_handshake,
|
||||
@@ -278,7 +277,6 @@ on_write(error_code const& ec)
|
||||
if(ec)
|
||||
return fail(ec, "write");
|
||||
auto& w = *wq_.front();
|
||||
using namespace beast::asio;
|
||||
auto const result = w.prepare(65536,
|
||||
std::bind(&BaseWSPeer::do_write,
|
||||
impl().shared_from_this()));
|
||||
@@ -321,7 +319,6 @@ do_read()
|
||||
if(! strand_.running_in_this_thread())
|
||||
return strand_.post(std::bind(
|
||||
&BaseWSPeer::do_read, impl().shared_from_this()));
|
||||
using namespace beast::asio;
|
||||
impl().ws_.async_read(rb_, strand_.wrap(
|
||||
std::bind(&BaseWSPeer::on_read,
|
||||
impl().shared_from_this(), std::placeholders::_1)));
|
||||
@@ -398,12 +395,13 @@ on_ping(error_code const& ec)
|
||||
template<class Handler, class Impl>
|
||||
void
|
||||
BaseWSPeer<Handler, Impl>::
|
||||
on_ping_pong(bool is_pong,
|
||||
beast::websocket::ping_data const& payload)
|
||||
on_ping_pong(beast::websocket::frame_type kind,
|
||||
beast::string_view payload)
|
||||
{
|
||||
if(is_pong)
|
||||
if(kind == beast::websocket::frame_type::pong)
|
||||
{
|
||||
if(payload == payload_)
|
||||
beast::string_view p(payload_.begin());
|
||||
if(payload == p)
|
||||
{
|
||||
close_on_timer_ = false;
|
||||
JLOG(this->j_.trace()) <<
|
||||
|
||||
@@ -188,7 +188,7 @@ parse_Port (ParsedPort& port, Section const& section, std::ostream& log)
|
||||
{
|
||||
auto const lim = get (section, "limit", "unlimited");
|
||||
|
||||
if (!beast::detail::ci_equal (lim, "unlimited"))
|
||||
if (!beast::detail::iequals (lim, "unlimited"))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
@@ -157,7 +157,7 @@ private:
|
||||
res.insert("Server", "http_sync_server");
|
||||
res.insert("Content-Type", "text/html");
|
||||
res.body = "The file '" + path + "' was not found";
|
||||
res.prepare();
|
||||
res.prepare_payload();
|
||||
write(sock, res, ec);
|
||||
if(ec)
|
||||
break;
|
||||
@@ -171,7 +171,7 @@ private:
|
||||
res.body = list_;
|
||||
try
|
||||
{
|
||||
res.prepare();
|
||||
res.prepare_payload();
|
||||
}
|
||||
catch(std::exception const& e)
|
||||
{
|
||||
@@ -182,7 +182,7 @@ private:
|
||||
res.insert("Content-Type", "text/html");
|
||||
res.body =
|
||||
std::string{"An internal error occurred"} + e.what();
|
||||
res.prepare();
|
||||
res.prepare_payload();
|
||||
}
|
||||
write(sock, res, ec);
|
||||
if(ec)
|
||||
|
||||
@@ -130,7 +130,7 @@ public:
|
||||
}
|
||||
req.body = to_string(jr);
|
||||
}
|
||||
req.prepare();
|
||||
req.prepare_payload();
|
||||
write(stream_, req);
|
||||
|
||||
response<dynamic_body> res;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <nudb/create.hpp>
|
||||
#include <nudb/detail/format.hpp>
|
||||
#include <nudb/xxhasher.hpp>
|
||||
#include <beast/core/detail/ci_char_traits.hpp>
|
||||
#include <beast/core/string.hpp>
|
||||
#include <boost/regex.hpp>
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
@@ -258,7 +258,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
std::map <std::string, std::string, beast::detail::ci_less>
|
||||
std::map <std::string, std::string, beast::iless>
|
||||
parse_args(std::string const& s)
|
||||
{
|
||||
// <key> '=' <value>
|
||||
@@ -274,7 +274,7 @@ parse_args(std::string const& s)
|
||||
, boost::regex_constants::optimize
|
||||
);
|
||||
std::map <std::string,
|
||||
std::string, beast::detail::ci_less> map;
|
||||
std::string, beast::iless> map;
|
||||
auto const v = beast::rfc2616::split(
|
||||
s.begin(), s.end(), ',');
|
||||
for (auto const& kv : v)
|
||||
|
||||
@@ -123,7 +123,7 @@ class ServerStatus_test :
|
||||
req.insert("Content-Type", "application/json; charset=UTF-8");
|
||||
req.body = body;
|
||||
}
|
||||
req.prepare();
|
||||
req.prepare_payload();
|
||||
|
||||
return req;
|
||||
}
|
||||
@@ -131,7 +131,7 @@ class ServerStatus_test :
|
||||
void
|
||||
doRequest(
|
||||
boost::asio::yield_context& yield,
|
||||
beast::http::request<beast::http::string_body> const& req,
|
||||
beast::http::request<beast::http::string_body>& req,
|
||||
std::string const& host,
|
||||
uint16_t port,
|
||||
bool secure,
|
||||
@@ -161,7 +161,7 @@ class ServerStatus_test :
|
||||
ss.async_handshake(ssl::stream_base::client, yield[ec]);
|
||||
if(ec)
|
||||
return;
|
||||
async_write(ss, req, yield[ec]);
|
||||
beast::http::async_write(ss, req, yield[ec]);
|
||||
if(ec)
|
||||
return;
|
||||
async_read(ss, sb, resp, yield[ec]);
|
||||
@@ -174,7 +174,7 @@ class ServerStatus_test :
|
||||
async_connect(sock, it, yield[ec]);
|
||||
if(ec)
|
||||
return;
|
||||
async_write(sock, req, yield[ec]);
|
||||
beast::http::async_write(sock, req, yield[ec]);
|
||||
if(ec)
|
||||
return;
|
||||
async_read(sock, sb, resp, yield[ec]);
|
||||
@@ -195,10 +195,11 @@ class ServerStatus_test :
|
||||
{
|
||||
auto const port = env.app().config()["port_ws"].
|
||||
get<std::uint16_t>("port");
|
||||
auto const ip = env.app().config()["port_ws"].
|
||||
auto ip = env.app().config()["port_ws"].
|
||||
get<std::string>("ip");
|
||||
auto req = makeWSUpgrade(*ip, *port);
|
||||
doRequest(
|
||||
yield, makeWSUpgrade(*ip, *port), *ip, *port, secure, resp, ec);
|
||||
yield, req, *ip, *port, secure, resp, ec);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -215,9 +216,10 @@ class ServerStatus_test :
|
||||
get<std::uint16_t>("port");
|
||||
auto const ip = env.app().config()["port_rpc"].
|
||||
get<std::string>("ip");
|
||||
auto req = makeHTTPRequest(*ip, *port, body);
|
||||
doRequest(
|
||||
yield,
|
||||
makeHTTPRequest(*ip, *port, body),
|
||||
req,
|
||||
*ip,
|
||||
*port,
|
||||
secure,
|
||||
|
||||
Reference in New Issue
Block a user