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

  • Dmitry Katsubo
    Dmitry Katsubo

    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 -d localhost:25
    SSL client to proxy enabled
    Connected to (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] mod_qos(045): access denied, invalid request line: can't parse uri, c=, ...

    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.