forked from boostorg/beast
This is a socket wrapper which has a built-in timeout feature on reads and writes.
33 lines
669 B
Plaintext
33 lines
669 B
Plaintext
#
|
|
# Copyright (c) 2016-2017 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)
|
|
#
|
|
# Official repository: https://github.com/boostorg/beast
|
|
#
|
|
|
|
local SOURCES =
|
|
error.cpp
|
|
flat_stream.cpp
|
|
icy_stream.cpp
|
|
ssl_stream.cpp
|
|
stream.cpp
|
|
timeout_socket.cpp
|
|
timeout_service.cpp
|
|
timeout_work_guard.cpp
|
|
;
|
|
|
|
local RUN_TESTS ;
|
|
|
|
for local f in $(SOURCES)
|
|
{
|
|
RUN_TESTS += [ run $(f) $(TEST_MAIN) ] ;
|
|
}
|
|
|
|
alias run-tests : $(RUN_TESTS) ;
|
|
|
|
exe fat-tests : $(TEST_MAIN) $(SOURCES) ;
|
|
|
|
explicit fat-tests ;
|