Add :short and :verbose options to log_protocol_errors configuration
option. Change default value to :short, which will log protocol
errors as a single summary line instead of a full stack trace
Raise Bandit.HTTPError errors when attempting to write to a closed client
connection (except for chunk/2 calls, which now return {:error, reason}).
Unless otherwise caught by the user, these errors will bubble out past the
configured plug and terminate the plug process. This closely mimics the
behaviour of Cowboy in this regard (#359)
Respect the plug-provided content-length on HEAD responses (#353, thanks
@meeq!)
Minor changes to how 'non-system process dictionary entries' are identified
Fixes
No longer closes on HTTP/1 requests smaller than the size of the HTTP/2
preamble
Close deflate contexts more eagerly for reduced memory use
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps bandit from 1.5.2 to 1.5.3.
Changelog
Sourced from bandit's changelog.
Commits
ef4deac
Version bump to 1.5.3a2cbe62
Change log_protocol_errors config option to accept short and verbose options2d5a78c
UseException.message/1
instead of reaching into the exception ourselvese496ea8
Remove nimble_ownership from lockfilecb2903a
Bump machete from 0.3.1 to 0.3.3 (#365)577e7c0
Bump req from 0.4.14 to 0.5.0 (#364)d5bd751
Bump ex_doc from 0.33.0 to 0.34.0 (#363)e1aa157
Raise error on send errors for HTTP/1 responses (#359)1096cf1
Bump ex_doc from 0.32.2 to 0.33.0 (#360)bc690d9
Don't time out on requests smaller than an h2 connection prefixYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show