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

bug: incorrect parse http/2 #9

Open
PandaWorker opened this issue Sep 10, 2024 · 0 comments
Open

bug: incorrect parse http/2 #9

PandaWorker opened this issue Sep 10, 2024 · 0 comments

Comments

@PandaWorker
Copy link

PandaWorker commented Sep 10, 2024

milo can't parse HTTP/2 and falls into error number 5
It can only parse according to the HTTP/{x}.{y}

OK

const message = Buffer.from('HTTP/1.1 200 OK\r\nContent-Length: 3\r\n\r\nabc')

DONT PARSE

const message = Buffer.from('HTTP/2 200 OK\r\nContent-Length: 3\r\n\r\nabc')
const message1 = Buffer.from('HTTP/3 200 OK\r\nContent-Length: 3\r\n\r\nabc')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant