Skip to content

check_curl: abort redir if location is not found - #2185

Merged
RincewindsHat merged 1 commit into
monitoring-plugins:masterfrom
RincewindsHat:fix/curl_segfault
Nov 27, 2025
Merged

RincewindsHat merged 1 commit into
monitoring-plugins:masterfrom
RincewindsHat:fix/curl_segfault

Conversation

@RincewindsHat

Copy link
Copy Markdown
Member

This commit changes the behaviour of check_curl slightly. Previously when the redirection method was set to the old 'check_http' style redirection and there was no "location" header in the original answer 'check_curl' segfaulted.
Now, at least it dies properly with a message.

should "fix" #2167

This commit changes the behaviour of check_curl slightly.
Previously when the redirection method was set to the old 'check_http'
style redirection and there was no "location" header in the original
answer 'check_curl' segfaulted.
Now, at least it dies properly with a message.
@RincewindsHat
RincewindsHat merged commit 6c231f0 into monitoring-plugins:master Nov 27, 2025
7 checks passed
@RincewindsHat
RincewindsHat deleted the fix/curl_segfault branch November 27, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant