From e8c7c6893ce0de37de7218d6419ca31452eaa601 Mon Sep 17 00:00:00 2001 From: jbj Date: Fri, 5 Nov 1999 20:00:26 +0000 Subject: 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 --- lib/url.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/url.c') 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); } -- cgit v1.2.3