Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
e8fe59f8 02/26/2024 02:03 PM Ewoud Kohl van Wijngaarden

Fixes #37147 - Pass --fail option to curl

This prevents curl from writing out error pages, for example when the
URL returns a HTTP 404.

It still doesn't return any error to Foreman since the TFTP
/fetch_boot_file only starts a thread and there's no way to monitor it....

dc06c076 09/26/2023 12:11 PM Ewoud Kohl van Wijngaarden

Fixes #34163 - Allow clearing the log buffer

In testing it can be useful to reset the log buffer. This is not
intended to be used as a public API but tests can use:

Proxy::LogBuffer::Buffer.instance.send(:clear)
31778c3d 05/22/2023 05:40 PM Leos Stejskal

refs #36243 - Templates - Return Foreman's API status code

Bugfixes and improvements

refs 70073c07e991cbe85a332a00e90d4196d8cbcaaf

70073c07 04/03/2023 12:54 PM Leos Stejskal

Fixes #36243 - Templates - Return Foreman's API status code instead of 500

90d7cc85 03/23/2023 07:12 PM Leos Stejskal

Fixes #36209 - tftp initrd/vmlinux generation: curl malformed

PR #856 was fixing invalid curl --time-cont condition,
but it actually break it and now files are not downloaded at all.

This reverts commit fba49ab1eb9bbe383572575309558ff628f5de60.

fba49ab1 03/09/2023 06:44 PM Leos Stejskal

Fixes #36138 - Invalid syntax for curl --time-cond

According to Curl man page, syntax for --time-cond attribute
should be "--time-cond file <path>", not "--time-cond <path>".

This can cause issues with outdated vmlinuz and initrd.im files,
once the files are downloaded, they are never replaced with never versions....

eea8cf68 03/06/2023 11:22 AM Adam Ruzicka

Fixes #35921 - Disable access logging for https endpoint

Previously, access logging was enabled for https endpoint, but not for
the http one. This commit settles things on no access logging for both.

5a12080f 03/06/2023 11:22 AM Adam Ruzicka

Refs #35921 - Unify use of common app settings

Common options were previously duplicated between http and https
application settings.

c8e23502 10/31/2022 04:47 PM Stejskal Leos

Refs #35639 - Add OptionalUrl validator

a48da738 09/15/2022 02:48 PM Ewoud Kohl van Wijngaarden

Fixes #31118 - Remove daemonize support

Currently Smart Proxy is able to daemonize and manage a pid file.
However, in the common deployments under systemd and Windows this isn't
actually used. There are also other solutions out there to manage it
externally if it's needed....

View revisions

Also available in: Atom