HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge lp:~mvo/apt/netrc branch, this adds support for a
[ntk/apt.git]
/
methods
/
http.h
diff --git
a/methods/http.h
b/methods/http.h
index
6753a99
..
13f02ec
100644
(file)
--- a/
methods/http.h
+++ b/
methods/http.h
@@
-99,6
+99,7
@@
struct ServerState
enum {Chunked,Stream,Closes} Encoding;
enum {Header, Data} State;
bool Persistent;
enum {Chunked,Stream,Closes} Encoding;
enum {Header, Data} State;
bool Persistent;
+ string Location;
// This is a Persistent attribute of the server itself.
bool Pipeline;
// This is a Persistent attribute of the server itself.
bool Pipeline;
@@
-143,6
+144,8
@@
class HttpMethod : public pkgAcqMethod
static time_t FailTime;
static void SigTerm(int);
static time_t FailTime;
static void SigTerm(int);
+ string NextURI;
+
public:
friend class ServerState;
public:
friend class ServerState;