Skip to content

BareCRLF

[Source]

A bare CR or bare LF appears inside a protocol line.

Only CRLF terminates a line. A lone CR (not immediately followed by LF) or a lone LF anywhere in the request line, a header or trailer field-line, or a chunk-size/extension line is rejected (RFC 9110 §5.5, RFC 9112 §2.2/§5). Treating a bare CR or LF as a line boundary is a request-smuggling vector: an intermediary that splits on it sees a message boundary where Stallion would not, desynchronizing the two.

primitive val BareCRLF

Constructors

create

[Source]

new val create()
: BareCRLF val^

Returns


Public Functions

string

[Source]

fun box string()
: String iso^

Returns


eq

[Source]

fun box eq(
  that: BareCRLF val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: BareCRLF val)
: Bool val

Parameters

Returns