All notable changes to this project will be documented in this file.
- This changelog file
- New
Makefile
with commandsautobahn-docker
,dev-install
,test-close
- During tear-down of websocket client, skip SSL and TCP shutdown (directly close) if websocket client is in faulty state. This is to prevent the client from hanging/reaching timeout, and is closer to the behaviour the RFC spec mandates.
- Added parameter
bool fail_connection
to socket APIclose
andshutdown
methods. The parameter should be set totrue
if the client and/or connection is in a faulty state. On shutdown/close, the client will skip SSL and TCP shutdown and directly close the connection since it's likely that the peer will not respond. - Removed
dev_install.sh
script (moved toMakefile
) - Better error message printing in examples
- Log alert
close_notify
inOpenSslSocket
as warning instead of error
to_string
forws_client::close_code
also mapsnot_set