Skip to content
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

generalize stream transcoding #152

Open
zippy opened this issue May 26, 2016 · 0 comments
Open

generalize stream transcoding #152

zippy opened this issue May 26, 2016 · 0 comments
Assignees
Milestone

Comments

@zippy
Copy link
Owner

zippy commented May 26, 2016

The current HTTP receptor code works by passing to STREAM_READ: HTTP_REQUEST as the transcoding RESULT_SYMBOL. This doesn't really work because the current (false) assumption is that the HTTP request is in a single LINE (STREAM_READ currently works on a single line returned by _st_read) instead we need to build something where a transcoder can work on a stream over time (i.e. it doesn't break if things arrive partially). Thus, it could part the HTTP method and version from the first LINE with one semtrex, and the headers from the subsequent lines with a different semtrex, and all of this needs to be composed with nice reusable expressivity from the programmers point of view...

@zippy zippy self-assigned this May 26, 2016
@zippy zippy added this to the May milestone May 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant