mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
nhttpd 3.3.3 add largefile support for recorded movie streaming
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@748 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -181,7 +181,7 @@ int CmodSendfile::OpenFile(CyhookHandler *, std::string fullfilename) {
|
|||||||
int fd = -1;
|
int fd = -1;
|
||||||
std::string tmpstring;
|
std::string tmpstring;
|
||||||
if (fullfilename.length() > 0) {
|
if (fullfilename.length() > 0) {
|
||||||
fd = open(fullfilename.c_str(), O_RDONLY);
|
fd = open(fullfilename.c_str(), O_RDONLY | O_LARGEFILE);
|
||||||
if (fd <= 0) {
|
if (fd <= 0) {
|
||||||
aprintf("cannot open file %s: ", fullfilename.c_str());
|
aprintf("cannot open file %s: ", fullfilename.c_str());
|
||||||
dperror("");
|
dperror("");
|
||||||
|
Reference in New Issue
Block a user