zuul-core/src/main/java/com/netflix/netty/common/metrics/HttpBodySizeRecordingChannelHandler.java [63:73]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            State state = null;

            // Reset the state as each new inbound request comes in.
            if (msg instanceof HttpRequest) {
                state = createNewState(ctx.channel());
            }

            // Update the inbound body size with this chunk.
            if (msg instanceof HttpContent) {
                if (state == null) {
                    state = getOrCreateCurrentState(ctx.channel());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



zuul-core/src/main/java/com/netflix/netty/common/metrics/HttpBodySizeRecordingChannelHandler.java [96:106]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            State state = null;

            // Reset the state as each new outbound request goes out.
            if (msg instanceof HttpRequest) {
                state = createNewState(ctx.channel());
            }

            // Update the outbound body size with this chunk.
            if (msg instanceof HttpContent) {
                if (state == null) {
                    state = getOrCreateCurrentState(ctx.channel());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



