netty5/handler-proxy/src
Franck Chevassu f52b07dede Fix HTTP version and Host header in HttpProxyHandler
Motivation:

  The current implementation does not comply with RFC2817 on two points:

  - The HTTP version required to support the CONNECT method is 1.1,
    but the current implementation specifies 1.0.

  - The HOST header should hold the name or address of the Target Host,
    but the current implementation uses the proxy address instead.

Modifications:

  - Specify HTTP version 1.1,
  - The HOST header is now set using the Target Host's name (or address,
    if it is resolved).

Result:

  The CONNECT request is RFC2817-compliant.
2016-06-22 16:26:56 +02:00
..
main/java/io/netty/handler/proxy Fix HTTP version and Host header in HttpProxyHandler 2016-06-22 16:26:56 +02:00
test/java/io/netty/handler/proxy Let CombinedChannelDuplexHandler correctly handle exceptionCaught. Related to [#4528] 2016-01-18 09:54:48 +01:00