Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
connections should not have it set. This changes the behavior of
timeouts on the first read.
|
|
handshake. Bump PKGREVISION.
|
|
|
|
This fixes bootstrap failure on AltLinux.
|
|
constloss.
|
|
|
|
|
|
|
|
|
|
and Thorsten Glaser. Part of the MirBSD support changes.
|
|
|
|
HTTP keep-alive support
|
|
Push \r\n up to the users of fetch_putln and remove it. Use send instead
of write(v) to avoid SIGPIPE.
|
|
Revamp FTP connection cache. Move it to the common layer to be later
shared with HTTP (for persistent connection). The application controls
how much caching is desired. Drop the reference counting on connections.
Add a callback when the cached connection is dropped due to LRU.
Over all, this allows more than one session cached per host and sessions
cached to different servers.
|
|
- Add support to aggressively cache directory listenings, useful for
HTTP
- Avoid leaking memory in error cases. From Xavier from Arch Linux.
|
|
|
|
|
|
|
|
Add support for conditional GET using the 'i' flag. Inspired by
the HTTP support for the same feature in FreeBSD by Murray Stokely, but
mostly rewritten and extended to work for all protocols.
|
|
- only include openssl if the openssl option is present
- include arpa/inet.h to get ntohl and friends on older platforms like
Interix
- use new netdb.h compat code from libnbcompat
- include inttypes.h only when present
- don't name local variables err, Interix has a symbol like that in
default namespace
- allow fetch_read to do short read and do more intelligent buffering
for header processing; effectively don't do a system call for each
byte read
|
|
as some headers are already included. Define _GNU_SOURCE early...
|
|
Start URL quoting cleanup. All URLs are now quoted correctly on parsing
and when appending URLs. URLs without schema and starting with slash are
considered to be file:// URLs.
|
|
|
|
|
|
Change fetchList API to always return lists of full URLs.
|
|
Add basic index parsing support for HTTP based on the ftpio.c code in
pkg_install. Permission to use the 3-clause BSD license from Thomas
Klausner in private mail.
|
|
|
|
|
|
Note that using glob patterns that match directories can result in
recursive expansion, e.g. with tnftpd.
|
|
Add interface to glob a directory.
|
|
- remove most of the debug junk
- fix a buffer overflow in the config parser
- replace stdio usage with a simple abstract IO framework. currently
without explicit buffering, but that might be added later
|
|
|
|
login_name to avoid shadowing a global variable.
|
|
|
|
|
|
|
|
To flag HTTP authentication errors, fallback to EPERM.
|
|
|
|
of smaller changes to not depend on sys/param.h. This library is
intended to replace the tnftp dependency in pkg_install.
|