Skip to content

Conversation

@JakubOnderka
Copy link
Contributor

By default, curl sends Expect: 100-continue request HTTP header when sending POST data. This requires another round trip, because then curl waits until receives HTTP/1.1 100 Continue from remote server.

When we disable Expect: 100-continue, sending logs to remote server should be faster.

This will speed-up sending logs to remote server
@sonarqubecloud
Copy link

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
Copy link
Member

airween commented May 11, 2025

Hi @JakubOnderka,

thank you for your PR, it's a nice catch!

@airween airween merged commit 990d99b into owasp-modsecurity:v3/master May 11, 2025
50 checks passed
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.

2 participants