mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() SMTP was improved to use the new abstract stuff a while ago, but it was only implemented with raw socket abstract transport, and a couple of 'api cheats' remained passing network information for the peer connection through the supposedly abstract apis. This patch adds a flexible generic token array to supply abstract transport-specific information through the abstract apis, removing the network information from the abstract connect() op. The SMTP minimal example is modified to use this new method to pass the network information. The abstract transport struct was opaque, but there are real uses to override it in user code, so this patch also makes it part of the public abi. |
||
---|---|---|
.. | ||
api-test-fts | ||
api-test-gencrypto | ||
api-test-jose | ||
api-test-lws_struct-json | ||
api-test-lws_tokenize | ||
api-test-lwsac | ||
api-test-smtp_client | ||
README.md |
These are buildable test apps that run in CI to confirm correct api operation.
name | tests |
---|---|
api-test-lwsac | LWS Allocated Chunks api |
api-test-lws_struct-json | Selftests for lws_struct JSON serialization and deserialization |
api-test-lws_tokenize | Generic secure string tokenizer api |
api-test-fts | LWS Full-text Search api |
api-test-gencrypto | LWS Generic Crypto apis |
api-test-jose | LWS JOSE apis |
api-test-smtp_client | SMTP client for sending emails |