This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto websocket_state::enter_connecting(scheme_type scheme, | |
std::string host, | |
std::string port, | |
std::string target) | |
-> net::awaitable< void > | |
try | |
{ | |
assert(state_ = closed); | |
transition(connecting); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> What is the "C++ Alliance"? | |
It's a not-for-profit set up to help C++ community. | |
https://cppalliance.org/#mission | |
Looking at some of the comments online you could be forgiven for thinking it was a secret cabal set on world domination. I have no idea where this idea comes from. | |
I've worked for the C++ Alliance for the best part of a year, and I find it to be a group of people who are enthusiastic about, and thoroughly enjoy the promoting the technology of C++. Admittedly the bar is high when making technical claims and one must be ready to provide researched evidence to back them. I personally don't see that as a bad thing. The software produced by the Alliance is used in many mission-critical systems. In my view we would be doing our users a disservice to demand anything but the best from staff and contributors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct sigint_state | |
{ | |
using executor_type = net::any_io_executor; | |
auto get_executor() const -> executor_type const&; | |
explicit sigint_state(executor_type const &exec); | |
void | |
start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/rhodges/github/test-scenarios/boost_beast_websocket_echo/cmake-build-debug/pre-cxx20/fmex_client/pre_cxx20_fmex_client | |
Fmex: resolve | |
Fmex: connect | |
Fmex: ssl_handshake | |
Fmex: handshake | |
Fmex: read | |
received: {"type":"hello","ts":1601285586622} | |
Fmex: write | |
Fmex: read | |
received: {"type":"ticker.btcusd_p","seq":2134132411580,"ts":1601285583778,"ticker":[10858.5,2.0,10858.0,4316.0,10858.5,388131.0,10635.0,11038.0,10594.0,1.67250447E8,15485.140003167462]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// string constants | |
"<unknown-field>", | |
"A-IM", | |
"Accept", | |
"Accept-Additions", | |
"Accept-Charset", | |
"Accept-Datetime", | |
"Accept-Encoding", | |
"Accept-Features", | |
"Accept-Language", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// string constants | |
"<unknown-field>", | |
"A-IM", | |
"Accept", | |
"Accept-Additions", | |
"Accept-Charset", | |
"Accept-Datetime", | |
"Accept-Encoding", | |
"Accept-Features", | |
"Accept-Language", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <boost/json.hpp> | |
#include "file.hpp" | |
#include <map> | |
#include <string> | |
#include <tuple> | |
#include <iostream> | |
namespace json = boost::json; | |
template<typename T> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raise 0x00007f0073f42625 | |
abort 0x00007f0073f2b8d9 | |
__assert_fail_base.cold 0x00007f0073f2b7a9 | |
__assert_fail 0x00007f0073f3aa66 | |
boost::beast::detail::stream_base::pending_guard::pending_guard stream_base.hpp:80 | |
boost::beast::basic_stream<boost::asio::ip::tcp, boost::asio::executor, boost::beast::unlimited_rate_policy>::ops::transfer_op<true, boost::asio::mutable_buffers_1, boost::asio::ssl::detail::io_op<boost::beast::basic_stream<boost::asio::ip::tcp, boost::asio::executor, boost::beast::unlimited_rate_policy>, boost::asio::ssl::detail::write_op<boost::beast::buffers_prefix_view<boost::asio::const_buffers_1> >, boost::beast::flat_stream<boost::asio::ssl::stream<boost::beast::basic_stream<boost::asio::ip::tcp, boost::asio::executor, boost::beast::unlimited_rate_policy> > >::ops::write_op<main()::<lambda(auto:3, auto:4)> > > >::transfer_op<boost::asio::ssl::detail::io_op<boost::beast::basic_stream<boost::asio::ip::tcp, boost::asio::executor, boost::beast::unlimited_rate_policy>, boost::asio::ssl::detail::write_o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SW_UART.C | |
Device driver for software uart | |
*/ | |
#define IN_KERNEL | |
#include "kernel.h" | |
/**- RAM */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"clang++" -c -x c++ -std=c++17 -fvisibility-inlines-hidden -Wno-c99-extensions -fPIC -m64 -pthread -O3 -Wall -fvisibility=hidden -Wno-inline -DBOOST_ALL_NO_LIB=1 -DBOOST_ASIO_DISABLE_BOOST_ARRAY=1 -DBOOST_ASIO_DISABLE_BOOST_BIND=1 -DBOOST_ASIO_DISABLE_BOOST_DATE_TIME=1 -DBOOST_ASIO_DISABLE_BOOST_REGEX=1 -DBOOST_ASIO_NO_DEPRECATED=1 -DBOOST_ASIO_SEPARATE_COMPILATION -DBOOST_BEAST_ALLOW_DEPRECATED -DBOOST_BEAST_SEPARATE_COMPILATION -DBOOST_COROUTINES_NO_DEPRECATION_WARNING=1 -DNDEBUG -D_GNU_SOURCE=1 -D_XOPEN_SOURCE=600 -I"." -I"libs/beast" -o "bin.v2/libs/beast/example/http/client/crawl/clang-linux-10.0.0/release/cxxstd-17-iso/threading-multi/visibility-hidden/http_crawl.o" "libs/beast/example/http/client/crawl/http_crawl.cpp" | |
...failed clang-linux.compile.c++.without-pch bin.v2/libs/beast/example/http/client/crawl/clang-linux-10.0.0/release/cxxstd-17-iso/threading-multi/visibility-hidden/http_crawl.o... | |
...skipped <pbin.v2/libs/beast/example/http/client/crawl/clang-linux-10.0.0/release/cxxstd-17-iso/threa |