725
726
727
728
729
730
731
732
733
734
735
736
737
738
|
sendfile_len -= sendfile_ret;
sendfile_sent += sendfile_ret;
if (sendfile_len == 0) {
break;
}
}
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
);
|
>
|
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
);
|