Skip to content

Improve logs, demote some errors to warnings#575

Merged
djs55 merged 4 commits intomoby:masterfrom
djs55:http-proxy
Apr 7, 2022
Merged

Improve logs, demote some errors to warnings#575
djs55 merged 4 commits intomoby:masterfrom
djs55:http-proxy

Conversation

@djs55
Copy link
Copy Markdown
Collaborator

@djs55 djs55 commented Apr 7, 2022

  • use "HTTP proxy" rather than "transparent HTTP ..." because the proxy has both transparent and explicit/non-transparent modes
  • demote some error logs to warnings, where it's the client misbehaving rather than us

djs55 added 4 commits April 7, 2022 14:25
The proxy supports both transparent and non-transparent proxying,
the log lines were misleading.

Signed-off-by: David Scott <dave@recoil.org>
We can receive malformed packets, it's not an error in our code so
make it a warning instead.

Signed-off-by: David Scott <dave@recoil.org>
Signed-off-by: David Scott <dave@recoil.org>
These can happen if the client misbehaves, which is not an error
in the proxy itself.

Signed-off-by: David Scott <dave@recoil.org>
@djs55 djs55 merged commit f337735 into moby:master Apr 7, 2022
@djs55 djs55 deleted the http-proxy branch April 7, 2022 14:13
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