class
Runcobo::RequestTracker
- Runcobo::RequestTracker
- Reference
- Object
Overview
Stop admission before closing listeners, then wait for admitted requests.
The tracker wraps every handler, so it also releases request-owned uploads when a middleware parses a body and ends the request before an action runs.
Included Modules
- HTTP::Handler
Defined in:
runcobo/request_tracker.crConstant Summary
-
UNREAD_BODY_LIMIT =
256 * 1024 -
Like Go's net/http, read up to this many unread request body bytes after a handler responds early. Clients that send the whole body before reading the response otherwise see a connection reset instead of the response.