1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/roles/http
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
..
client LWS_ERRNO: audit uses for case logging may destroy errno 2019-12-14 23:55:28 +00:00
compression private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
server cgi: minimal example 2019-11-20 05:20:59 +00:00
header.c client: use block parse and buflist 2019-09-22 03:08:36 -07:00
lextable-strings.h plat: refactor private headers and split files 2018-06-20 16:41:27 +08:00
lextable.h refactor role ops 2018-04-11 13:39:42 +08:00
minilex.c license: fix up last mentions of lgpl outside of the source file license grant part 2019-12-02 11:19:30 +00:00
parsers.c format strings: ban %.*s as some platforms lack it 2019-11-04 13:49:14 +00:00
private-lib-roles-http.h cgi: minimal example 2019-11-20 05:20:59 +00:00