You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2022. It is now read-only.
There appears to be a bug in handling http CONNECT requests. In a CONNECT request, the uri that follows is of the form hostname:port, but the parser assumes if the first character is not '/', that the uri contains a 'full' uri, including schema, which is not the case for such requests. As a result, parsing fails for such requests.
The text was updated successfully, but these errors were encountered:
I can get a dump, but from the sample it is pretty obvious what the problem is...
The parser fails when it encounters the first period in the hostname as it assumes it is parsing the schema, not the hostname!
I guess an easy fix would be to skip directly to s_req_host state instead of s_req_schema iff the request is a CONNECT...
There appears to be a bug in handling http CONNECT requests. In a CONNECT request, the uri that follows is of the form hostname:port, but the parser assumes if the first character is not '/', that the uri contains a 'full' uri, including schema, which is not the case for such requests. As a result, parsing fails for such requests.
The text was updated successfully, but these errors were encountered: