diff options
author | jbj <devnull@localhost> | 1999-11-05 20:00:26 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-11-05 20:00:26 +0000 |
commit | e8c7c6893ce0de37de7218d6419ca31452eaa601 (patch) | |
tree | 0358a5379ea43671a9ad9836b093e9016b3438be /lib/url.c | |
parent | 3363604c7076329e431afdc975f205b54f088631 (diff) | |
download | librpm-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); } |