]> git.ipfire.org Git - thirdparty/curl.git/commit
netrc: cache the netrc file in memory
authorDaniel Stenberg <daniel@haxx.se>
Thu, 10 Oct 2024 16:08:07 +0000 (18:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 11 Oct 2024 12:40:12 +0000 (14:40 +0200)
commit3b43a05e000aa8f65bda513f733a73fefe35d5ca
tree4a508678db6bedd71fec1f5cba8b0dd4296dd58b
parent962097b8dd44ed5b9e7984bc1cdffdbdd566857f
netrc: cache the netrc file in memory

So that on redirects etc it does not reread the file but just parses it
again.

Reported-by: Pierre-Etienne Meunier
Fixes #15248
Closes #15259
lib/multi.c
lib/netrc.c
lib/netrc.h
lib/url.c
lib/urldata.h
tests/unit/unit1304.c