summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-05 20:00:26 +0000
committerjbj <devnull@localhost>1999-11-05 20:00:26 +0000
commite8c7c6893ce0de37de7218d6419ca31452eaa601 (patch)
tree0358a5379ea43671a9ad9836b093e9016b3438be /lib/url.c
parent3363604c7076329e431afdc975f205b54f088631 (diff)
downloadlibrpm-tizen-e8c7c6893ce0de37de7218d6419ca31452eaa601.tar.gz
librpm-tizen-e8c7c6893ce0de37de7218d6419ca31452eaa601.tar.bz2
librpm-tizen-e8c7c6893ce0de37de7218d6419ca31452eaa601.zip
rpmio.c: Add per FD_t syserrno, read timers and simple counting statistics.
rpmio.c: Honor contentLength to prevent R/W I/O dribbles. ftp.c: Support for HTTP/1.1 with persistent connection. ftp.c: Read (and set) Content-Length and HTTP minor version from reply. CVS patchset: 3418 CVS date: 1999/11/05 20:00:26
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 3ce6054c1..049602f7d 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -44,6 +44,10 @@ urlinfo XurlNew(const char *msg, const char *file, unsigned line)
u->port = -1;
u->ftpControl = fdio->new(fdio, "url ftpControl", __FILE__, __LINE__);
u->ftpFileDoneNeeded = 0;
+ u->httpVersion = 0;
+ u->httpHasRange = 1;
+ u->httpContentLength = 0;
+ u->httpPersist = 1;
u->nrefs = 0;
return XurlLink(u, msg, file, line);
}