"can't parse uri" for CONNE...

2012-05-24
2013-05-23
  • Dmitry Katsubo
    Dmitry Katsubo
    2012-05-24

    Dear community,

    I have enabled mod_qos on my Apache and mod_proxy stopped to work. The reason is that mod_qos is trying to treat the argument for CONNECT method as URL:

    proxytunnel.exe -v -E -p 82.11.114.32:443 -d localhost:25
    SSL client to proxy enabled
    Connected to 82.11.114.32:443 (local proxy)
    Tunneling to localhost:25 (destination)
    Communication with local proxy:
     -> CONNECT localhost:25 HTTP/1.0
     -> Proxy-Connection: Keep-Alive
     <- HTTP/1.1 400 Bad Request
    

    In log file:

    [error] [client 82.11.114.32] mod_qos(045): access denied, invalid request line: can't parse uri, c=82.11.114.32, ...
    

    I have tried QS_RequestHeaderFilter  off with no success. The issue looks to be relative to this one.

    Any help is appreciated.

     
  • This is correct. mod_qos can be used for HTTP traffic only.