Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in_http: respond accordingly to requests that produce errors. #8794

Merged
merged 2 commits into from
May 29, 2024

Commits on May 3, 2024

  1. in_http: return a 400 error when unable to receive a message.

    return a 400 error when the incoming message is invalid, unable to be
    processed or cannot be appended as a log entry.
    
    at the moment only the logs themselves can distinguish these different
    error cases but at least clients will be alerted to problems.
    
    Signed-off-by: Phillip Whelan <phil@calyptia.com>
    pwhelan committed May 3, 2024
    Configuration menu
    Copy the full SHA
    70fd8a0 View commit details
    Browse the repository at this point in the history
  2. in_http: add tests for 400 responses to bad requests and buffer write…

    … errors.
    
    Signed-off-by: Phillip Whelan <phil@calyptia.com>
    pwhelan committed May 3, 2024
    Configuration menu
    Copy the full SHA
    1f9c57d View commit details
    Browse the repository at this point in the history