#6 request url is not general

open
nobody
None
5
2011-04-28
2011-04-28
yavor_atov
No

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.

Discussion

  • Current HTTP request handling is overly simplistic and will be revised. Thank you for your input.