CVS log for pkgsrc/net/libfetch/files/http.c
Up to [cvs.NetBSD.org] / pkgsrc / net / libfetch / files
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Apr 16 10:15:06 2026 UTC (7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2,
HEAD
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
libfetch: sync with src/
comments
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Apr 16 08:32:12 2026 UTC (7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +15 -6
lines
libfetch: reduce diffs to src/
revision 1.6
date: 2024-09-01 17:07:31 +0200; author: christos; state: Exp; lines: +9 -7; commitid: g7m30PlS4W7Jb7oF;
PR/58656: RVP: Fix proxy authentication for https and when proxy does not
add any extra headers.
revision 1.5
date: 2024-02-02 23:19:05 +0100; author: christos; state: Exp; lines: +68 -21; commitid: WGGFqVnnZpItpUWE;
Sync with pkgsrc and try to fix more memory corruption from PR/57179.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Apr 16 08:20:45 2026 UTC (7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +8 -8
lines
libfetch: reduce diffs to src/
use more size_t, add some casts
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Apr 11 10:41:52 2026 UTC (7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2
lines
libfetch: convert (name in comment) to UTF-8
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Apr 28 18:48:36 2025 UTC (18 months, 2 weeks ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -1
lines
libfetch: needs xlocale.h with latest xcode on macOS
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Feb 18 12:59:54 2025 UTC (20 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base,
pkgsrc-2025Q1
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +24 -7
lines
libfetch: Fix proxy connections.
From Jonathan Perkin <jperkin@smartos.org>
via drecklypkg commit $e6083c3a737b5451887c0c803b807c63e63aa046
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Aug 23 17:48:53 2022 UTC (4 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -6
lines
libfetch: remove unused variable
Also removed in upstream FreeBSD sources.
Fixes a clang warning/error reported by Edgar Fuß.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Aug 27 19:24:04 2019 UTC (7 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +12 -3
lines
libfetch-2.39: Improve date parsing
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Oct 21 11:51:18 2016 UTC (10 years ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +39 -12
lines
libfetch-2.38: Support proxies for https URLs. From FreeBSD.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Oct 20 21:21:25 2016 UTC (10 years ago) by joerg
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2
lines
Only set the cached flag when the connection is actually cached. New
connections should not have it set. This changes the behavior of
timeouts on the first read.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Feb 8 13:27:42 2016 UTC (10 years, 9 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -5
lines
Do not use TCP_NOPUSH on Darwin, it adds a 5 second delay after the initial
handshake. Bump PKGREVISION.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Jun 11 13:12:12 2014 UTC (12 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +0 -2
lines
Revert bad _GNU_SOURCE change.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jun 7 19:22:51 2014 UTC (12 years, 5 months ago) by cheusov
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1
lines
Define _GNU_SOURCE by default for glibc-based systems (vasprintf(3)).
This fixes bootstrap failure on AltLinux.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Jan 8 20:25:34 2014 UTC (12 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base,
pkgsrc-2014Q1
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
Pass URL to fetch_ssl to fix build and add a cast for some OpenSSL
constloss.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Jan 7 23:25:12 2014 UTC (12 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1
lines
Apply some explicit int casts for size_t format string arguments.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Jul 26 10:21:41 2013 UTC (13 years, 3 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -2
lines
Fix build under GNU/kFreeBSD.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Apr 7 15:27:21 2012 UTC (14 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
Fix the last commit to not break bootstrap.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Apr 7 15:09:23 2012 UTC (14 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -1
lines
Fix build with clang.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jan 23 18:37:31 2011 UTC (15 years, 9 months ago) by agc
Branches: MAIN
CVS tags: pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
Handle the case where tm_year is a long variable, from Benny Siegert
and Thorsten Glaser. Part of the MirBSD support changes.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Jan 24 19:10:35 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
Fix a variable reference in TCP_NOPUSH case.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Jan 23 14:53:08 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +69 -10
lines
libfetch-2.30:
HTTP keep-alive support
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jan 23 14:25:26 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +14 -14
lines
libfetch-2.29:
Push \r\n up to the users of fetch_putln and remove it. Use send instead
of write(v) to avoid SIGPIPE.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Jan 22 13:21:09 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2
lines
libfetch-2.28:
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.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Oct 15 12:36:57 2009 UTC (17 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +75 -11
lines
libfetch-2.26:
- Add support to aggressively cache directory listenings, useful for
HTTP
- Avoid leaking memory in error cases. From Xavier from Arch Linux.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Mar 5 19:07:03 2009 UTC (17 years, 8 months ago) by abs
Branches: MAIN
CVS tags: pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
Like Linux, MiNT wants _GNU_SOURCE (for strptime)
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Mar 5 15:14:14 2009 UTC (17 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1
lines
Always define _REENTRANT to get gmtime_r prototype on Interix.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Feb 22 19:11:48 2009 UTC (17 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -5
lines
Be nice to ancient NetBSD releases. From Hauke Fath.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Feb 5 16:59:45 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +33 -4
lines
libfetch-2.21:
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.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Oct 6 12:58:29 2008 UTC (18 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +12 -4
lines
libfetch-2.16:
- 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
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue May 6 17:37:30 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -6
lines
glibc loves to not define common string functions and fail miserably
as some headers are already included. Define _GNU_SOURCE early...
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Apr 24 07:55:00 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
libfetch-2.4.10:
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.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Apr 21 22:39:15 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
Actually, just check for linux and ignore hurd...
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 21 22:36:08 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -1
lines
Fix another surprise from the glibc folks.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Apr 19 14:49:24 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +10 -23
lines
libfetch-2.6:
Change fetchList API to always return lists of full URLs.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Apr 18 21:13:10 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +194 -5
lines
libfetch-2.5:
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.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Apr 16 15:10:18 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2
lines
Don't use inline.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Apr 16 01:01:50 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +10 -1
lines
Use nbcompat.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Apr 5 02:42:13 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Add somewhat ugly, but working directory listening code for FTP.
Note that using glob patterns that match directories can result in
recursive expansion, e.g. with tnftpd.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Apr 4 22:37:28 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +11 -1
lines
libfetch-2.2:
Add interface to glob a directory.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Apr 2 15:33:15 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +24 -102
lines
libfetch-2.1:
- 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
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 7 18:02:01 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
The libfetch version is good enough as user-agent.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Feb 7 17:47:12 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -4
lines
Don't use warnx, fprintf(stderr, ...) is good enough. Rename logname to
login_name to avoid shadowing a global variable.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Feb 7 17:27:40 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
Kill more __unused.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Feb 7 17:23:37 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4
lines
Expand __func__.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Feb 7 17:12:12 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Don't use __unused.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Feb 7 16:24:01 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -1
lines
EAUTH and ENEEDAUTH might not exist, so use them conditionally.
To flag HTTP authentication errors, fallback to EPERM.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Feb 7 16:14:44 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
bcopy -> memcpy
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Feb 7 01:48:23 2008 UTC (18 years, 9 months ago) by joerg
Branches: TNF
CVS tags: pkgsrc-base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
Import libfetch-2.0, based on the FreeBSD version of today with a number
of smaller changes to not depend on sys/param.h. This library is
intended to replace the tnftp dependency in pkg_install.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Feb 7 01:48:23 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>