Skip to content

Add collection size in log in case of writing error #3198

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

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Add collection size in log in case of writing error #3198

merged 1 commit into from
Jul 31, 2024

Conversation

marcstern
Copy link

A collection is limited to 1008 bytes.
An error writing a collection is often due to a too big collection.
This adds the collection size to the log.

@marcstern marcstern added the 2.x Related to ModSecurity version 2.x label Jul 25, 2024
Copy link

@marcstern marcstern requested a review from airween July 25, 2024 07:57
@marcstern marcstern changed the title Add collection in log in case of writing error Add collection size in log in case of writing error Jul 25, 2024
Copy link
Member

@airween airween left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@airween airween merged commit e424598 into owasp-modsecurity:v2/master Jul 31, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to ModSecurity version 2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants