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

Upgrade camel-http to use httpclient 4.4

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.16.2
    • 2.16.2, 2.17.0
    • camel-http4
    • None

    Description

      There are several issues with parsing response from the server side:

      The target server failed to respond
      org.apache.http.NoHttpResponseException: The target server failed to respond
              at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:95)
              at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:62)
              at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)
              at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)
              at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)
              at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:191)
              at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)
              at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)
              at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:517)
              at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
      

      This bug is fixed in HTTPCLIENT-1610

      So, it would be very useful if upgrade latest camel to use httpclient 4.4 or latest to avoid such bugs.

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            rusbob Ruslan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: