Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.49 KB

CONTRIBUTING.md

File metadata and controls

58 lines (38 loc) · 1.49 KB

Contributing

Pull requests and issues are welcome.

TODOs

  • Source location in logging seems off
  • More default logging of control frames
  • Git automatic builds
  • Auto fragmentation when writing large messages?
  • Timeout support for DnsResolver

Useful resources

WebSocket connections inspection and testing

Lists all connections:

sudo ss -tp | grep "pid=$(pidof ex_reconnect_asio)"
sudo ss -tp | grep "pid=$(pidof ex_binance_builtin)"

Closes WebSocket connection at port 443 of process:

sudo ss -tp | grep "pid=$(pidof ex_reconnect_asio)" | grep -oP '\s\K[^ ]+(?=:https)'
sudo ss -tp | grep "pid=$(pidof ex_binance_builtin)" | grep -oP '\s\K[^ ]+(?=:https)'

sudo ss -K dst $(sudo ss -tp | grep "pid=$(pidof ex_reconnect_asio)" | grep -oP '\s\K[^ ]+(?=:https)') dport = 443
sudo ss -K dst $(sudo ss -tp | grep "pid=$(pidof ex_binance_builtin)" | grep -oP '\s\K[^ ]+(?=:https)') dport = 443

sudo ss -K dst $(sudo ss -tp | grep "pid=$(pidof ex_hello_ws_builtin)" | grep -oP '\s\K[^ ]+(?=:http)') dport = 8080

sudo ss -K dst '127.0.0.1' dport = 443

sudo ss -K dst 66.241.124.119:443

pidof ex_echo_builtin

Compiler varia

Debug clang header lookup paths:

clang++ -stdlib=libc++ -std=c++23 -v -E -x c++ /dev/null

Install libc++19:

sudo apt-get install libc++-19-dev libc++abi-19-dev