Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14069

netty4-http - Add logic to handle http 100-Continue

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Unknown

    Description

      When using netty4-http as a client we have a problem when the server side answers with a http 100-Continue. We expected the client to handle that internally and continue the call but it's actually returning http 100.

      This is handled by Nettys own channel handlers but since the Camel HttpClientChannelHandler/ClientChannelHandler stop waiting when a http 100-Continue arrives it doesn't help.

      In the project I'm working with we made a custom ClientInitilizer and made some small changes in the HttpClientChannelHandler and ClientChannelHandler that just "ignores" the http 100-Continue when it arrives to solve this issue.

      See the attached files to see our solution

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zhfeng Zheng Feng
            urken Göran Erkstam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                Slack

                  Issue deployment