1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/core-net
Andy Green 392dfe186b LWS_ERRNO: audit uses for case logging may destroy errno
On some platforms, it's possible that logging flow may reset errno.  In the case where
we try to log errno on those platforms and afterwards try to query it, we will get a
nasty surprise that the logged errno is destroyed by the time we come to test it.

In the two cases of this in the tree at the moment, sample errno into a temp and
log and test the temp.

Thanks to Sakthi Ramabadran for finding this.
2019-12-14 23:55:28 +00:00
..
adopt.c adopt: pass wsi opaque so its set from the start 2019-12-09 14:48:54 +00:00
client.c client: make external http proxying optional 2019-08-26 09:58:57 +01:00
close.c cgi: minimal example 2019-11-20 05:20:59 +00:00
connect.c tls: lws_system per-connection client certs 2019-12-09 14:48:54 +00:00
detailed-latency.c detailed latency stats 2019-09-22 03:06:59 -07:00
dummy-callback.c cgi: minimal example 2019-11-20 05:20:59 +00:00
lws-dsh.c Coverity fixes 2019-08-19 10:12:20 +01:00
network.c LWS_ERRNO: audit uses for case logging may destroy errno 2019-12-14 23:55:28 +00:00
output.c minimal-raw-serial 2019-12-09 14:48:54 +00:00
pollfd.c detailed latency stats 2019-09-22 03:06:59 -07:00
private-lib-core-net.h tls: lws_system per-connection client certs 2019-12-09 14:48:54 +00:00
sequencer.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
server.c illumos: fix build errors 2019-11-04 13:49:13 +00:00
service.c lws_state and system state 2019-09-22 09:35:07 -07:00
sorted-usec-list.c unix: sul schedule rename internal api and call regardless of existing timeout 2019-11-01 07:07:33 +00:00
state.c fail paths: deregister notifier and be sure adopt returns NULL 2019-12-06 17:14:28 +00:00
stats.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
vhost.c coverity: use function comments to clear false positives 2019-10-12 12:41:14 +01:00
wsi-timeout.c cgi: reenable h1 with chunking 2019-11-16 09:00:15 +00:00
wsi.c lws_get_tsi 2019-10-29 09:14:42 +00:00