netty/netty — pull request #3134 by danbev (2014-11-13 15:27:12+00:00)
Title: Adding a passSettings flag to DefaultHttp2FrameReader.

Motivation:
When DefaultHttp2FrameReader has read a settings frame, the settings
will be passed along the pipeline. This allows a client to hold off
sending data until it has received a settings frame. But for a server it
will always have received a settings frame and the usefulness of this
forwarding of settings is less useful. This also causes a debug message
to be logged on the server side if there is no channel handler to handle
the settings:

[nioEventLoopGroup-1-1] DEBUG io.netty.channel.DefaultChannelPipeline -
Discarded inbound message {INITIAL_WINDOW_SIZE=131072,
MAX_FRAME_SIZE=16384} that reached at the tail of the pipeline. Please
check your pipeline configuration.

Modifications:
Added a 'passSettings' parameter to the constructors of
DefaultHttp2FrameReader. For existing constructors the default setting
is false.

Result:
It is now possible to control whether settings should be passed along
the pipeline or not.