mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() 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. |
||
---|---|---|
.. | ||
mbedtls | ||
openssl | ||
lws-gencrypto-common.c | ||
lws-genec-common.c | ||
private-network.h | ||
private.h | ||
tls-client.c | ||
tls-network.c | ||
tls-server.c | ||
tls.c |