by avsm · 10mo ago · 0 comments
val parse : buffer -> len:int -> #(status * request * header list) @ local
This takes in a buffer and returns an unboxed tuple on the stack, so there's no GC activity involved beyond stack management for each HTTP request.Yes a parser is a fun to read ;)