Http module

parser_trim

procedure · 1 overloadSource

Between messages: gives back the head and trailer storage that grew past limit bytes (each of the six arrays on its own), so a connection that once saw a huge head does not keep it. The previous message's head and trailers are gone afterwards, like when the next message begins. Does nothing while a message is under way.

parser_trim :: (p: *Parser, limit: int)

Between messages: gives back the head and trailer storage that grew past limit bytes (each of the six arrays on its own), so a connection that once saw a huge head does not keep it. The previous message's head and trailers are gone afterwards, like when the next message begins. Does nothing while a message is under way.

Parameters

p: *Parser
limit: int

See also