request url is not general
Status: Beta
Brought to you by:
bsl45
Let we have a uspxy working on address some-host:some-port
If we want to restream 239.1.1.1:4000 we have to make request:
GET /udp/ 239.1.1.1:4000 HTTP/1.1 and everything is ok.
but if the request is GET http://some-host:some-port/udp/ 239.1.1.1:4000 HTTP/1.1
this is an error.
But it shouldn't be, because that is a valid url and every http server would respond to that correctly.
Current HTTP request handling is overly simplistic and will be revised. Thank you for your input.