| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
57fbafb8
|
| 16-Nov-2022 |
John Baldwin <jhb@FreeBSD.org> |
libfetch: Pass a zeroed digest to DigestCalcResponse.
GCC 12 warns that passing "" (a constant of char[1]) to a parameter of type char[33] could potentially overread. It is not clear from the conte
libfetch: Pass a zeroed digest to DigestCalcResponse.
GCC 12 warns that passing "" (a constant of char[1]) to a parameter of type char[33] could potentially overread. It is not clear from the context that c->qops can never be "auth-int" (and if it can't, then the "auth-int" handling in DigestCalcResponse is dead code that should be removed since this is the only place the function is called).
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D36825
show more ...
|
| #
ce700f78
|
| 20-Apr-2022 |
Stefan Eßer <se@FreeBSD.org> |
libfetch: remove a set-but-not-uswed variable
|
| #
635eb7ac
|
| 09-Sep-2021 |
Baptiste Daroussin <bapt@FreeBSD.org> |
fetch: do not confuse capacity and length
The patch converting fetch to getline (ee3ca711a898cf41330c320826ea1e0e6e451f1d), did confuse the capacity of the line buffer with the actual len of the rea
fetch: do not confuse capacity and length
The patch converting fetch to getline (ee3ca711a898cf41330c320826ea1e0e6e451f1d), did confuse the capacity of the line buffer with the actual len of the read line confusing fetch -v.
show more ...
|
| #
ee3ca711
|
| 17-Aug-2021 |
Daniel Kolesa <daniel@octaforge.org> |
libfetch: use more portable getline() interface
this is for better portability in order to avoid using a function which is BSD-only or available via libbsd
MFC after: 3 weeks
|
| #
345c30a9
|
| 01-Apr-2021 |
Renato Botelho <garga@FreeBSD.org> |
libfetch: Retry with proxy auth when server returns 407
PR: 220468 Submitted by: Egil Hasting <egil.hasting@higen.org> (based on) Reviewed by: kevans, kp Approved by: kp MFC after: 2 weeks Sponsore
libfetch: Retry with proxy auth when server returns 407
PR: 220468 Submitted by: Egil Hasting <egil.hasting@higen.org> (based on) Reviewed by: kevans, kp Approved by: kp MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D29533
show more ...
|
| #
c5c3ba6b
|
| 03-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351317 through r351731.
|
| #
f4e05cc5
|
| 28-Aug-2019 |
Mark Johnston <markj@FreeBSD.org> |
Document fetchReqHTTP().
Submitted by: Farhan Khan <khanzf@gmail.com> Reviewed by: 0mp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18788
|
| #
67350cb5
|
| 09-Dec-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340918 through r341763.
|
| #
a768df3e
|
| 27-Nov-2018 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
When deciding whether to send the complete URL or just the document part, we were looking at the original URL rather than the one we were currently processing. This meant that if we were trying to r
When deciding whether to send the complete URL or just the document part, we were looking at the original URL rather than the one we were currently processing. This meant that if we were trying to retrieve an HTTP URL but were redirected to an HTTPS URL, and HTTPS proxying was enabled, we would send an invalid request and most likely get garbage back.
MFC after: 3 days
show more ...
|
| #
ceedec4b
|
| 27-Nov-2018 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
A few more cases where strcasecmp() is no longer required.
MFC after: 1 week
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
57fbafb8
|
| 16-Nov-2022 |
John Baldwin <jhb@FreeBSD.org> |
libfetch: Pass a zeroed digest to DigestCalcResponse.
GCC 12 warns that passing "" (a constant of char[1]) to a parameter of type char[33] could potentially overread. It is not clear from the conte
libfetch: Pass a zeroed digest to DigestCalcResponse.
GCC 12 warns that passing "" (a constant of char[1]) to a parameter of type char[33] could potentially overread. It is not clear from the context that c->qops can never be "auth-int" (and if it can't, then the "auth-int" handling in DigestCalcResponse is dead code that should be removed since this is the only place the function is called).
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D36825
show more ...
|
| #
ce700f78
|
| 20-Apr-2022 |
Stefan Eßer <se@FreeBSD.org> |
libfetch: remove a set-but-not-uswed variable
|
| #
635eb7ac
|
| 09-Sep-2021 |
Baptiste Daroussin <bapt@FreeBSD.org> |
fetch: do not confuse capacity and length
The patch converting fetch to getline (ee3ca711a898cf41330c320826ea1e0e6e451f1d), did confuse the capacity of the line buffer with the actual len of the rea
fetch: do not confuse capacity and length
The patch converting fetch to getline (ee3ca711a898cf41330c320826ea1e0e6e451f1d), did confuse the capacity of the line buffer with the actual len of the read line confusing fetch -v.
show more ...
|
| #
ee3ca711
|
| 17-Aug-2021 |
Daniel Kolesa <daniel@octaforge.org> |
libfetch: use more portable getline() interface
this is for better portability in order to avoid using a function which is BSD-only or available via libbsd
MFC after: 3 weeks
|
| #
345c30a9
|
| 01-Apr-2021 |
Renato Botelho <garga@FreeBSD.org> |
libfetch: Retry with proxy auth when server returns 407
PR: 220468 Submitted by: Egil Hasting <egil.hasting@higen.org> (based on) Reviewed by: kevans, kp Approved by: kp MFC after: 2 weeks Sponsore
libfetch: Retry with proxy auth when server returns 407
PR: 220468 Submitted by: Egil Hasting <egil.hasting@higen.org> (based on) Reviewed by: kevans, kp Approved by: kp MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D29533
show more ...
|
| #
c5c3ba6b
|
| 03-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351317 through r351731.
|
| #
f4e05cc5
|
| 28-Aug-2019 |
Mark Johnston <markj@FreeBSD.org> |
Document fetchReqHTTP().
Submitted by: Farhan Khan <khanzf@gmail.com> Reviewed by: 0mp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18788
|
| #
67350cb5
|
| 09-Dec-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340918 through r341763.
|
| #
a768df3e
|
| 27-Nov-2018 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
When deciding whether to send the complete URL or just the document part, we were looking at the original URL rather than the one we were currently processing. This meant that if we were trying to r
When deciding whether to send the complete URL or just the document part, we were looking at the original URL rather than the one we were currently processing. This meant that if we were trying to retrieve an HTTP URL but were redirected to an HTTPS URL, and HTTPS proxying was enabled, we would send an invalid request and most likely get garbage back.
MFC after: 3 days
show more ...
|
| #
ceedec4b
|
| 27-Nov-2018 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
A few more cases where strcasecmp() is no longer required.
MFC after: 1 week
|
| #
f2eac202
|
| 29-May-2018 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Fix a few (but far from all) style issues.
MFC after: 3 weeks
|
| #
c5712d6d
|
| 29-May-2018 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Use __VA_ARGS__ to simplify the DEBUG macro.
MFC after: 3 weeks
|
| #
b847b083
|
| 12-May-2018 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Preserve if-modified-since timestamps across redirects.
PR: 224426 MFC after: 1 week
|