hniksic
0e74e24d95
[svn] Document the new option --protocol-directories.
2003-12-05 19:07:10 -08:00
hniksic
0d0fe50435
[svn] New option --protocol-directories.
2003-12-05 19:01:31 -08:00
hniksic
a8155e7bcc
[svn] Correctly calculate bandwidth as total data read divided with download
...
time.
2003-12-05 18:32:57 -08:00
hniksic
53f5f3e486
[svn] Reword the HTTP/0.9 entry.
2003-12-05 16:45:00 -08:00
hniksic
bf8350af62
[svn] Support the 303 See Other response.
2003-12-05 06:37:47 -08:00
hniksic
f599e493f3
[svn] Updated file from the TP.
2003-12-04 16:17:21 -08:00
hniksic
78706dc5ea
[svn] * retr.c (fd_read_body): Report the amount of data *written* as
...
amount_read. This is not entirely logical, but that's what the
callers expect, and it's not easy to change.
* ftp.c (ftp_loop_internal): Ditto.
* http.c (http_loop): Be smarter about assigning restval; if we're
in the nth pass of a download, simply use the information we have
about how much data has been retrieved as restval.
* ftp.c (getftp): Ditto for FTP "REST" command.
* http.c (gethttp): When the server doesn't respect range, skip
the first RESTVAL bytes of the read body. Never truncate the
output file.
* retr.c (fd_read_body): Support skipping initial STARTPOS octets.
2003-11-30 15:39:04 -08:00
hniksic
381457408a
[svn] Read the data in skip_short_body directly.
2003-11-30 06:33:00 -08:00
hniksic
2f357b5eb8
[svn] Better documentation for fd_read_body args.
2003-11-29 20:41:08 -08:00
hniksic
f2a078239c
[svn] Mention that HTTP/0.9 now works.
2003-11-29 20:23:26 -08:00
hniksic
3390f7eb45
[svn] Try to reuse connections that return error codes.
2003-11-29 17:34:33 -08:00
hniksic
63d492c0ba
[svn] Initialize SSL only the first time when an SSL URL is encountered.
2003-11-29 14:24:55 -08:00
hniksic
ddd2644bc8
[svn] Docfix.
2003-11-29 14:19:46 -08:00
hniksic
f57e571154
[svn] Cosmetic change.
2003-11-29 14:19:26 -08:00
hniksic
0ff9eb4727
[svn] Restructure generation of HTTP requests. Allow headers specified with
...
--header to override generated headers.
2003-11-29 10:40:01 -08:00
hniksic
83b0e38940
[svn] Don't include the Proxy-Authorization header in the request tunneled
...
through proxy.
2003-11-28 03:28:05 -08:00
hniksic
3eef068815
[svn] Document that SSL passthrough now works.
2003-11-27 18:37:33 -08:00
hniksic
76b59b1ad7
[svn] Use the CONNECT method to establish passthrough over SSL traffic
...
over proxies.
2003-11-27 18:24:53 -08:00
hniksic
7c063c3175
[svn] Don't #include netinet/Winsock stuff.
2003-11-27 15:39:53 -08:00
hniksic
8f286c1238
[svn] Remove obsolete finder_t typedef.
2003-11-27 15:34:32 -08:00
hniksic
dfe1f43dc0
[svn] Use fd_read_hunk for reading HTTP response head. Support HTTP/0.9
...
responses.
2003-11-27 15:29:36 -08:00
hniksic
b83acf88c1
[svn] Don't calculate the ETA if nothing has yet been downloaded.
2003-11-27 14:59:36 -08:00
hniksic
f496a0ea07
[svn] Renamed sa_len to addrlen because IRIX defines sa_len as macro.
2003-11-27 02:59:41 -08:00
hniksic
084dd20514
[svn] Don't check for AI_V4MAPPED and AI_ALL.
2003-11-26 14:46:13 -08:00
hniksic
795614dcbb
[svn] Check for struct sockaddr_storage.
2003-11-26 09:20:23 -08:00
hniksic
3f84a5e00e
[svn] Squash embedded newlines in links.
2003-11-26 08:37:04 -08:00
hniksic
1b2dce0493
[svn] Set con->csock to -1 where rbuf_uninitialize was previously used.
2003-11-25 16:38:20 -08:00
hniksic
c06c8d039f
[svn] Added the trailing backslash that was missing.
2003-11-25 16:20:42 -08:00
hniksic
2d4ddce871
[svn] Updated from the TP.
2003-11-25 15:02:46 -08:00
hniksic
7736d5dc98
[svn] Remove headers.c and headers.h.
2003-11-21 00:48:45 -08:00
hniksic
d9fea91a0a
[svn] Remove the "rbuf" buffering layer. Provide peeking primitives instead.
2003-11-20 17:48:11 -08:00
hniksic
0716c335a0
[svn] Renamed xread/xwrite/xclose to fd_read/fd_write/fd_close. The "x" prefix is
...
not appropriate because the semantics have diverged from read/write/close
too significantly.
2003-11-20 07:19:59 -08:00
hniksic
0c4b349c5a
[svn] It's not necessary to initialize RES.
2003-11-19 17:26:02 -08:00
hniksic
51b0fdbace
[svn] It's not necessary to initialize RES.
2003-11-19 16:42:21 -08:00
hniksic
bbcdd71484
[svn] Don't reference opt.ipv4_only and opt.ipv6_only if IPv6 is disabled.
2003-11-19 05:25:20 -08:00
hniksic
3792aa7058
[svn] Don't compile socket_has_inet6 if IPv6 is disabled.
2003-11-19 04:07:42 -08:00
hniksic
581f9539a3
[svn] Warn the user when using weak random seed.
2003-11-18 14:28:01 -08:00
hniksic
0fb0ee87c7
[svn] Renamed address_list_find to address_list_contains.
2003-11-18 14:18:44 -08:00
hniksic
b61d05160b
[svn] Document connect_to_host better.
2003-11-17 15:53:14 -08:00
hniksic
ac1d8e5078
[svn] Make select_fd return 1 if select is unavailable.
2003-11-17 15:46:20 -08:00
hniksic
e4c730c3a5
[svn] Don't reference address list after releasing it.
2003-11-17 12:51:27 -08:00
hniksic
d55f588d61
[svn] Updated.
2003-11-17 05:17:05 -08:00
hniksic
5fb7ffc9ad
[svn] Fix alignment of FTP options output.
2003-11-17 05:13:33 -08:00
hniksic
133d69ff24
[svn] Don't auto-set opt.ipv4_only on systems without IPv6 sockets.
2003-11-17 04:59:54 -08:00
hniksic
a9d4f29c9e
[svn] Removed from CVS.
2003-11-16 15:45:25 -08:00
hniksic
9822b9ec6d
[svn] Updated.
2003-11-16 15:45:01 -08:00
hniksic
c45fc0e595
[svn] Fix minor problems with --help text.
2003-11-16 15:42:38 -08:00
hniksic
0aaf171125
[svn] Updated from the TP.
2003-11-16 13:05:50 -08:00
hniksic
cd8797a2a2
[svn] No longer include INET headers in ftp-basic.c.
2003-11-16 11:17:48 -08:00
hniksic
66cc6d43f6
[svn] Don't allow opt.ipv4_only and opt.ipv6_only to both be set.
2003-11-15 16:31:58 -08:00