Check-in [1127550a5c]
Overview
Comment:Noted that status should be reported
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1127550a5c8536232cdaff9ce83d86dbc7aa36cf
User & Date: rkeene on 2014-02-08 03:10:23
Other Links: manifest | tags
Context
2014-02-08
03:14
Updated to make mime types file configurable check-in: ad6e43c2bd user: rkeene tags: trunk
03:10
Noted that status should be reported check-in: 1127550a5c user: rkeene tags: trunk
03:09
Updated to do less work if logging is disabled check-in: 7a401fd8d2 user: rkeene tags: trunk
Changes

Modified filed.c from [1e9ce66531] to [6f13628165].

725
726
727
728
729
730
731

732
733
734
735
736
737
738
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739







+







				sendfile_len -= sendfile_ret;
				sendfile_sent += sendfile_ret;
				if (sendfile_len == 0) {
					break;
				}
			}

			/* XXX: TODO: Report status */
			filed_log_msg("SEND_COMPLETE STATUS=%s FILE_FD=%i FD=%i BYTES=%llu BYTES_SENT=%llu",
				"<unknown>",
				fileinfo->fd,
				fd,
				(unsigned long long) request->headers.range.length,
				(unsigned long long) sendfile_sent
			);