Module: ActiveJob::Temporal::HttpLineReader

Included in:
HealthCheckServer, MetricsServer
Defined in:
lib/activejob/temporal/http_line_reader.rb

Overview

Bounded line reading for the embedded HTTP endpoints: one deadline for the whole request plus caps on line length and header count, so a slow or oversized client cannot hold a connection worker.

Constant Summary collapse

MAX_LINE_BYTES =
8_192
MAX_HEADER_LINES =
100