Skip to content

Conversation

@zwoop
Copy link
Contributor

@zwoop zwoop commented Oct 26, 2016

No description provided.

@zwoop zwoop added this to the 7.1.0 milestone Oct 26, 2016
@atsci
Copy link

atsci commented Oct 26, 2016

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1086/ for details.

@atsci
Copy link

atsci commented Oct 26, 2016

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/978/ for details.

@zwoop zwoop merged commit e93a1b2 into apache:master Oct 26, 2016
@zwoop zwoop deleted the TS-4582 branch October 26, 2016 20:15
bneradt pushed a commit to bneradt/trafficserver that referenced this pull request Jan 23, 2026
The incoming_requests metric was only incremented in
HttpTransact::HandleRequest(), which is called late in the request
processing pipeline. Requests that received error or redirect responses
before reaching HandleRequest were never counted, causing significant
underreporting during high-error-rate scenarios like DDoS attacks.

This fix moves the increment to HttpSM::attach_client_session(), which
is called at the start of every transaction. This ensures all requests
are counted, including those that fail header parsing, receive remap
redirects, or hit early error conditions. This aligns with the
documented behavior that incoming_requests should include errors and
redirects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants