mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
* Improve test coverage * tests for invokable in composed ops * Update documentation * Add License badge to README * Target Windows 7 SDK and later * Make role_type private * Remove extra unused masking functions * Allow stream reuse / reconnect after failure * Restructure logic of composed operations * Allow 0 for read_message_max meaning no limit * Respect keep alive when building HTTP responses * Check version in upgrade request * Response with 426 status on unsupported WebSocket version * Remove unnecessary Sec-WebSocket-Key in HTTP responses * Rename to mask_buffer_size * Remove maybe_throw * Add ping, async_ping, async_on_pong * Add ping_op * Add pong_op * Fix crash in accept_op * Fix suspend in close_op * Fix read_frame_op logic * Fix crash in read_op * Fix races in echo sync and async echo servers
88 lines
2.1 KiB
Plaintext
88 lines
2.1 KiB
Plaintext
#
|
|
# Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail dot com)
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
|
|
import os ;
|
|
|
|
compile core.cpp : : ;
|
|
compile http.cpp : : ;
|
|
compile version.cpp : : ;
|
|
compile websocket.cpp : : ;
|
|
|
|
unit-test core-tests :
|
|
../extras/beast/unit_test/main.cpp
|
|
core/async_completion.cpp
|
|
core/basic_streambuf.cpp
|
|
core/bind_handler.cpp
|
|
core/buffer_cat.cpp
|
|
core/buffer_concepts.cpp
|
|
core/buffers_adapter.cpp
|
|
core/consuming_buffers.cpp
|
|
core/error.cpp
|
|
core/handler_alloc.cpp
|
|
core/handler_concepts.cpp
|
|
core/placeholders.cpp
|
|
core/prepare_buffers.cpp
|
|
core/static_streambuf.cpp
|
|
core/static_string.cpp
|
|
core/stream_concepts.cpp
|
|
core/streambuf.cpp
|
|
core/streambuf_readstream.cpp
|
|
core/to_string.cpp
|
|
core/write_streambuf.cpp
|
|
core/detail/base64.cpp
|
|
core/detail/empty_base_optimization.cpp
|
|
core/detail/get_lowest_layer.cpp
|
|
core/detail/sha1.cpp
|
|
;
|
|
|
|
unit-test http-tests :
|
|
../extras/beast/unit_test/main.cpp
|
|
http/basic_headers.cpp
|
|
http/basic_parser_v1.cpp
|
|
http/body_type.cpp
|
|
http/empty_body.cpp
|
|
http/headers.cpp
|
|
http/message.cpp
|
|
http/message_v1.cpp
|
|
http/parse_error.cpp
|
|
http/parser_v1.cpp
|
|
http/read.cpp
|
|
http/reason.cpp
|
|
http/resume_context.cpp
|
|
http/rfc2616.cpp
|
|
http/rfc7230.cpp
|
|
http/status.cpp
|
|
http/streambuf_body.cpp
|
|
http/string_body.cpp
|
|
http/type_check.cpp
|
|
http/write.cpp
|
|
http/detail/chunk_encode.cpp
|
|
;
|
|
|
|
unit-test bench-tests :
|
|
../extras/beast/unit_test/main.cpp
|
|
http/nodejs_parser.cpp
|
|
http/parser_bench.cpp
|
|
;
|
|
|
|
unit-test websocket-tests :
|
|
../extras/beast/unit_test/main.cpp
|
|
websocket/error.cpp
|
|
websocket/option.cpp
|
|
websocket/rfc6455.cpp
|
|
websocket/stream.cpp
|
|
websocket/teardown.cpp
|
|
websocket/detail/frame.cpp
|
|
websocket/detail/mask.cpp
|
|
websocket/detail/stream_base.cpp
|
|
websocket/detail/utf8_checker.cpp
|
|
;
|
|
|
|
exe websocket-echo :
|
|
websocket/websocket_echo.cpp
|
|
;
|