-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Support parsing HTTP/1.1 request sequences #339
Comments
Update: I can see that requests containing unknown Another solution would be to extend the grammar to support request sequences. |
@kenballus I am not sure how exactly you interface with A parser that would parse many requests one after the next (returns a sequence of requests):
A parser that returns the HTTP request, and also the offset after the last consumed byte:
Parse a request, and also return the bytes after it:
|
We sure do! I think option 2 is best, so good requests are parsed correctly even when followed by malformed requests. |
HTTP-1.1.ddl currently parses only the first request in its input, which means that we can't use it to parse pipelined requests. If there were a field in the Daedalus JSON output that reports how many bytes of input were consumed, then I could use the single request parser to implement request stream parsing.
The text was updated successfully, but these errors were encountered: