applied patch #1723131 - NSISdl doesn't handle files over 2GB and patch #1656076 - make NSISdl more "translator-friendly"

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5175 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-06-27 11:09:40 +00:00
parent 165aa0b8dd
commit acc4233b41
6 changed files with 220 additions and 46 deletions

View file

@ -43,6 +43,7 @@
#define _HTTPGET_H_
#include "connection.h"
#include "util.h"
class JNL_HTTPGet
{
@ -70,7 +71,7 @@ class JNL_HTTPGet
int get_bytes(char *buf, int len);
int peek_bytes(char *buf, int len);
int content_length() { char *p=getheader("content-length:"); if (p) return my_atoi(p); return 0; }
__int64 content_length() { char *p=getheader("content-length:"); if (p) return myatoi64(p); return 0; }
JNL_Connection *get_con() { return m_con; }