1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/tls
Andy Green 1d954d52a3 sequencer: add second aux message arg
Since the messages are queued and then read in order from the event loop
thread, it's not generally safe to pass pointers to argument structs,
since there's no guarantee the lifetime of the thing sending the message
lasted until the sequencer read the message.

This puts pressure on the single void * argument-passed-as-value... this patch
adds a second void * argument-passed-as-value so it's more possible to put
what's needed directly in the argument.

It's also possible to alloc the argument on the heap and have the sequencer
callback free it after it has read it.
2019-08-08 09:45:09 +01:00
..
mbedtls openssl: add threading apis needed for 1.0.2 and earlier 2019-08-02 09:47:23 +01:00
openssl openssl: add threading apis needed for 1.0.2 and earlier 2019-08-02 09:47:23 +01:00
lws-gencrypto-common.c genhash: add MD5 2019-07-17 13:09:40 -07:00
lws-genec-common.c old openssl: dont build with membuffer apis 2019-03-12 11:57:43 +08:00
private-network.h openssl: client certs: use info.client_ssl_private_key_password 2019-06-21 07:18:48 +01:00
private.h openssl: add threading apis needed for 1.0.2 and earlier 2019-08-02 09:47:23 +01:00
tls-client.c sequencer: add second aux message arg 2019-08-08 09:45:09 +01:00
tls-network.c lws_dll: remove lws_dll_lws and deprecate lws_dll_remove 2019-03-21 06:19:31 +08:00
tls-server.c rtos: add support for AMAZON_RTOS 2019-06-05 05:04:17 +01:00
tls.c rtos: add support for AMAZON_RTOS 2019-06-05 05:04:17 +01:00