Althttpd

Check-in [07d1ade99f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove unused syslog.h header after testing on Linux and OpenBSD. The header's lack in msys2 builds was reported in /forumpost/3e78394004.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 07d1ade99f986648f73c0e7380f50b477db552305274fe994bfa159e559324b9
User & Date: stephan 2024-11-05 09:02:34
Context
2025-01-08
17:58
Increase security of TLS connections, as suggested by forum post b8139d20e60028ae. ... (check-in: e8808c6fe3 user: drh tags: trunk)
2024-11-05
09:02
Remove unused syslog.h header after testing on Linux and OpenBSD. The header's lack in msys2 builds was reported in /forumpost/3e78394004. ... (check-in: 07d1ade99f user: stephan tags: trunk)
03:45
Change an unsigned int to a socklen_t to resolve portability problem reported in [](/info/83cc724873). ... (check-in: 38f8c7072c user: stephan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to althttpd.c.
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
** request fails with a 401 error.
**
** Because of security rule (7), there is no way for the content of the "-auth"
** file to leak out via HTTP request.
*/
#include <stdio.h>
#include <ctype.h>
#include <syslog.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <pwd.h>
#include <sys/time.h>







<







315
316
317
318
319
320
321

322
323
324
325
326
327
328
** request fails with a 401 error.
**
** Because of security rule (7), there is no way for the content of the "-auth"
** file to leak out via HTTP request.
*/
#include <stdio.h>
#include <ctype.h>

#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <pwd.h>
#include <sys/time.h>