netty5/codec-http/src
Bryce Anderson f0f0edbf78 HttpObjectAggregator adds 'Connection: close' header if necessary
Motivation:

The HttpObjectAggregator never appends a 'Connection: close' header to
the response of oversized messages even though in the majority of cases
its going to close the connection.

Modification:

This PR addresses that by ensuring the requisite header is present when
the connection is going to be closed.

Result:

Gracefully signal that we are about to close the connection.
2016-11-08 08:43:30 +01:00
..
main/java/io/netty/handler/codec HttpObjectAggregator adds 'Connection: close' header if necessary 2016-11-08 08:43:30 +01:00
test HttpObjectAggregator adds 'Connection: close' header if necessary 2016-11-08 08:43:30 +01:00