Overview
Comment: | Filed 1.6 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | 1.6 |
Files: | files | file ages | folders |
SHA1: | f7cedf86368b1b640c1c3b9f5d448cfc6fbb9465 |
User & Date: | rkeene on 2014-02-12 17:56:07 |
Other Links: | manifest | tags |
Context
2014-02-12
| ||
17:56 | Post release version increment check-in: 3a2967949a user: rkeene tags: trunk | |
17:56 | Filed 1.6 check-in: f7cedf8636 user: rkeene tags: trunk, 1.6 | |
17:42 | Fixed NULL pointer dereference and also possible buffer overflow processing HTTP request, created in [8cb189c633] check-in: dd737cd8c7 user: rkeene tags: trunk | |
Changes
Modified filed.1 from [cfb720954f] to [93dadcba78].
1 1 .PU 2 -.TH FILED 1 "11 Feb 14" "filed 1.5" 2 +.TH FILED 1 "12 Feb 14" "filed 1.6" 3 3 .SH NAME 4 4 filed \- serve files over HTTP 5 5 .SH SYNOPSIS 6 6 .ll +10 7 7 .B filed 8 8 .RB [{ \-h | \-\-help }] 9 9 .RB [{ \-d | \-\-daemon }] ................................................................................ 75 75 .B -l (or --log) 76 76 Specifies a filename to open for writing log entries. Log 77 77 entries are made for various stages in transfering files. 78 78 The log file is opened before switching users (see "-u") 79 79 and root directories (see "-r"). The log file is never 80 80 closed so log rotation without stopping the daemon is will 81 81 not work. The value of "-" indicates that standard output 82 -should be used for logging. If the filename begins with a "|" 83 -then a process is started and used for logging instead of a 84 -file. 82 +should be used for logging. If the filename begins with a 83 +pipe ("|") then a process is started and used for logging 84 +instead of a file. 85 85 86 86 .TP 87 87 .B -u (or --user) 88 88 Specifies the user to switch user IDs to before servicing 89 89 requests. The default is not change user IDs. 90 90 91 91 .TP
Modified filed.c from [64aa094753] to [a26989d41c].
16 16 #include <fcntl.h> 17 17 #include <stdio.h> 18 18 #include <errno.h> 19 19 #include <time.h> 20 20 #include <pwd.h> 21 21 22 22 /* Compile time constants */ 23 -#define FILED_VERSION "1.5" 23 +#define FILED_VERSION "1.6" 24 24 #define FILED_SENDFILE_MAX 16777215 25 25 #define FILED_MAX_FAILURE_COUNT 30 26 26 #define FILED_DEFAULT_TYPE "application/octet-stream" 27 27 #define FILED_PATH_BUFFER_SIZE 1010 28 28 29 29 /* Default values */ 30 30 #define PORT 80