You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/21 20:35:00 UTC

[jira] [Work logged] (CAMEL-14195) [camel-netty-http] - Add additional logging around DecoderResult Failures

     [ https://issues.apache.org/jira/browse/CAMEL-14195?focusedWorklogId=347677&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-347677 ]

ASF GitHub Bot logged work on CAMEL-14195:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Nov/19 20:34
            Start Date: 21/Nov/19 20:34
    Worklog Time Spent: 10m 
      Work Description: bobpaulin commented on pull request #3358: CAMEL-14195: Add logging to capture Decoder exceptions at error level
URL: https://github.com/apache/camel/pull/3358
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 347677)
    Remaining Estimate: 0h
            Time Spent: 10m

> [camel-netty-http] - Add additional logging around DecoderResult Failures
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-14195
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14195
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-netty-http
>    Affects Versions: 2.23.2, 3.0.0.RC3
>            Reporter: Bob Paulin
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When the Camel Netty Http component receives a header that exceeds it's
> maxHeaderSize the
> org.apache.camel.component.netty.http.handlers.HttpServerChannelHandler
> simply logs that a message was received at DEBUG level:
> {code:java}
>  2019-11-19T19:34:02,418 | DEBUG | Camel (camel-2) thread #189 -
> NettyEventExecutorGroup | NettyHttpConsumer | 95 -
> org.apache.camel.camel-core - 2.22.3 | Message received:
> HttpObjectAggregator$AggregatedFullHttpRequest(decodeResult:
> failure(io.netty.handler.codec.TooLongFrameException: HTTP header is
> larger than 8192 bytes.), version: HTTP/1.1, content: EmptyByteBufBE){code}
> This the request is allowed to proceed to code upstream which
> unfortunately leads the developer to believe that there is nothing wrong
> with the request.
> Determine to add error level logging in these cases.
> See for discussion: https://lists.apache.org/thread.html/1b991732c0e6f0420220a4329adb64438e7e17142d0799b90d15030a@%3Cdev.camel.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)