largefile patch added

git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@80 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Oxy 2006-08-17 05:18:28 +00:00
parent 1716c7a10d
commit a4072c19b1
2 changed files with 3 additions and 2 deletions

View File

@ -475,6 +475,7 @@ int http_SendStatusResponse( IN SOCKINFO *info, IN int http_status_code,
* memory ptr * memory ptr
* 'c': (no args) appends CRLF "\r\n" * 'c': (no args) appends CRLF "\r\n"
* 'd': arg = int number // appends decimal number * 'd': arg = int number // appends decimal number
* 'h': arg = off_t number // appends off_t number
* 't': arg = time_t * gmt_time // appends time in RFC 1123 fmt * 't': arg = time_t * gmt_time // appends time in RFC 1123 fmt
* 'D': (no args) appends HTTP DATE: header * 'D': (no args) appends HTTP DATE: header
* 'S': (no args) appends HTTP SERVER: header * 'S': (no args) appends HTTP SERVER: header

View File

@ -48,8 +48,8 @@ struct SendInstruction
int IsRangeActive; int IsRangeActive;
int IsTrailers; int IsTrailers;
char RangeHeader[200]; char RangeHeader[200];
long RangeOffset; off_t RangeOffset;
long ReadSendSize; // Read from local source and send on the network. off_t ReadSendSize; // Read from local source and send on the network.
long RecvWriteSize; // Recv from the network and write into local file. long RecvWriteSize; // Recv from the network and write into local file.
//Later few more member could be added depending on the requirement. //Later few more member could be added depending on the requirement.