TLS
- Linux, FreeBSD and Android builds are based on OpenSSL 3.4.0
i686-unknown-linux-musldoes not have TLS support- Mac and Windows builds should use native TLS support
Documentation
- Websocat4 documentation - it describes some unreleased things too, not only that in 4.0.0-alpha2.
doc.mdis a documentation specifically for 4.0.0-alpha2.
Changelog
Comparing to v4.0.0-alpha1, Websocat4 gained:
ported from Websocat1
--oneshotto serve just one connection- protection from excessively large messages that may overflow memory (it works not the same as in Websocat1 though)
random:endpointlengthprefixed:overlay--inhibit-pongs--stdout-announce-listening-ports- Ability to inherit socket listeners and other async FDs from parent process, e.g. SystemD
reuse-raw:readfile:,writefile:,appendfile:(with some additional features forwritefile:)--origin,--ua,-0helpers
#276 tracks progress of the porting and can sometimes serve as a migration guide.
new
--exec-dup2and--exec-dup2-execveto connect sockets (not WebSockets, though) obtained by Websocat4 directly to the process--random-seed- Additional features for
lengthprefixed:mode. --global-timeout-ms,--sleep-ms-before-start--exec-after-listen(variation of--stdout-announce-listening-ports)--composemode to combine multiple Websocat invocations into one using special arithmetic.mock_stream_socket:to use Websocat for testing things (or test Websocat itself).- "Registry"-based connections within Websocat (for tests and
--composemode)