1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/api-tests
Andy Green 498a4e2bd7 sul: all timed objects use a single pt sul list
wsi timeout, wsi hrtimer, sequencer timeout and vh-protocol timer
all now participate on a single sorted us list.

The whole idea of polling wakes is thrown out, poll waits ignore the
timeout field and always use infinite timeouts.

Introduce a public api that can schedule its own callback from the event
loop with us resolution (usually ms is all the platform can do).

Upgrade timeouts and sequencer timeouts to also be able to use us resolution.

Introduce a prepared fakewsi in the pt, so we don't have to allocate
one on the heap when we need it.

Directly handle vh-protocol timer if LWS_MAX_SMP == 1
2019-08-09 10:12:09 +01:00
..
api-test-fts cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
api-test-gencrypto gencrypto: aes: improve test key now openssl checks it 2019-07-14 15:46:47 -07:00
api-test-jose openssl: add threading apis needed for 1.0.2 and earlier 2019-08-02 09:47:23 +01:00
api-test-lws_sequencer sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
api-test-lws_struct-json cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
api-test-lws_tokenize tokenize: LWS_TOKENIZE_F_NO_INTEGERS 2019-07-20 11:27:10 -07:00
api-test-lwsac cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
api-test-smtp_client sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
README.md smtp: make abstract 2019-05-04 08:28:31 +01:00

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