mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
nttpd: allow sendfile() to cope with files >= 2GB; introduce range support
(This re-applies most of the patches I've reverted about two hours ago.)
Origin commit data
------------------
Branch: ni/coolstream
Commit: ff46970457
Author: martii <m4rtii@gmx.de>
Date: 2014-07-20 (Sun, 20 Jul 2014)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -24,7 +24,7 @@ private:
|
||||
|
||||
protected:
|
||||
bool WriteData(char const *data, long length);
|
||||
bool Sendfile(std::string filename);
|
||||
bool Sendfile(std::string filename, off_t start = 0, off_t end = -1);
|
||||
std::string redirectURI; // URI for redirection else: empty
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user