summaryrefslogtreecommitdiff
path: root/lib/libfetch/http.c
AgeCommit message (Expand)Author
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2022-11-15libfetch: Pass a zeroed digest to DigestCalcResponse.John Baldwin
2022-04-20libfetch: remove a set-but-not-uswed variableStefan Eßer
2021-09-09fetch: do not confuse capacity and lengthBaptiste Daroussin
2021-08-17libfetch: use more portable getline() interfaceDaniel Kolesa
2021-04-01libfetch: Retry with proxy auth when server returns 407Renato Botelho
2019-08-28Document fetchReqHTTP().Mark Johnston
2018-11-27When deciding whether to send the complete URL or just the document part,Dag-Erling Smørgrav
2018-11-27A few more cases where strcasecmp() is no longer required.Dag-Erling Smørgrav
2018-05-29Fix a few (but far from all) style issues.Dag-Erling Smørgrav
2018-05-29Use __VA_ARGS__ to simplify the DEBUG macro.Dag-Erling Smørgrav
2018-05-12Preserve if-modified-since timestamps across redirects.Dag-Erling Smørgrav
2017-11-26lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-03-17r308996 broke IP literals by assuming that a colon could only occur asDag-Erling Smørgrav
2017-03-05Fix partial requests (used by fetch -r) when the requested file isDag-Erling Smørgrav
2016-12-30Fix inverted loop condition which broke multi-line responses to CONNECT.Dag-Erling Smørgrav
2016-05-31r169386 (PR 112515) was incomplete: it treated 307 as an error exceptDag-Erling Smørgrav
2016-05-12Use strlcpy() instead of strncpy() to copy the string returned byDon Lewis
2016-02-11Fix double-free error: r289419 moved all error handling in http_connect()Dag-Erling Smørgrav
2015-12-16As a followup to r292330, standardize on size_t and add a few comments.Dag-Erling Smørgrav
2015-12-16Reset bufpos to 0 immediately after refilling the buffer. Otherwise, weDag-Erling Smørgrav
2015-11-29Fix buildworld after r291453, similar to r284346: url->user and url->pwdDimitry Andric
2015-11-29Use .netrc for HTTP sites and proxies, not just FTP.Dag-Erling Smørgrav
2015-10-16Fix two bugs in HTTPS tunnelling:Dag-Erling Smørgrav
2015-07-04Remove unused variable to silence clang warning.Marcelo Araujo
2015-06-13Fix the following clang 3.7.0 warnings in lib/libfetch/http.c:Dimitry Andric
2014-06-05Add support for arbitrary http requestsBaptiste Daroussin
2014-06-05Remove unnecessary semicolonsBaptiste Daroussin
2014-06-05Use NULL instead of 0Baptiste Daroussin
2014-06-05If HTTP_USER_AGENT is defined but empty, don't send User-Agent at all.Dag-Erling Smørgrav
2014-03-11Support Last-Modified behind proxies which return UTC instead of GMT.Bryan Drewery
2014-01-30Bump copyright datesDag-Erling Smørgrav
2014-01-29r261230 broke the cases where the amount of data to be read is notDag-Erling Smørgrav
2014-01-28Solve http buffering issues and hangs once and for all (hopefully!) byDag-Erling Smørgrav
2013-08-22Even though it doesn't really make sense in the context of a CONNECTDag-Erling Smørgrav
2013-07-30Include an Accept header in requests.Dag-Erling Smørgrav
2013-07-26Implement certificate verification, and many other SSL-relatedDag-Erling Smørgrav
2013-07-21Use the correct request syntax for proxied (tunneled) HTTPS requests.Dag-Erling Smørgrav
2013-04-12Use the CONNECT method to proxy HTTPS connections through HTTP proxies.Dag-Erling Smørgrav
2012-11-16Fix weird indentation.Dag-Erling Smørgrav
2012-10-22Implement HTTP 305 redirect handling.Eitan Adler
2012-10-22Don't deny non-temporary redirects if the -A option is set (perEitan Adler
2012-10-22Be a bit more lenient in the maximum number of redirects allowed.Eitan Adler
2012-09-14Use libmd if and only if OpenSSL is not available.Dag-Erling Smørgrav
2012-04-30Don't reuse credentials if redirected to a different host.Dag-Erling Smørgrav
2012-01-18Fix two issues related to the use of SIGINFO in fetch(1) to displayDag-Erling Smørgrav
2011-10-19latin1 -> utf8Dag-Erling Smørgrav
2011-09-27Update copyright dates and strip my middle name.Dag-Erling Smørgrav
2011-05-12Increase WARNS to 4.Dag-Erling Smørgrav
2011-05-12Mechanical whitespace cleanup.Dag-Erling Smørgrav