Petals BC REST

Big files are truncated

Details

  • Description:
    Hide

    When attachment are used, if their size is upper than following values, they are truncated and not correctly transfered on the remote side:

    • without SSL, the limit size is 2632872 bytes (2632873 is KO)
    • with SSL, the limit size is 7950 bytes (7951 is KO)
    Show
    When attachment are used, if their size is upper than following values, they are truncated and not correctly transfered on the remote side:
    • without SSL, the limit size is 2632872 bytes (2632873 is KO)
    • with SSL, the limit size is 7950 bytes (7951 is KO)
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Fri, 2 Apr 2021 - 11:31:05 +0200 - edited

Unit tests have been added:

  • org.ow2.petals.binding.rest.exchange.outgoing.RestProvideServiceTest#bigAttachment()
  • org.ow2.petals.binding.rest.exchange.outgoing.RestProvideServiceSSLTest#bigAttachment()
Show
Christophe DENEUX added a comment - Fri, 2 Apr 2021 - 11:31:05 +0200 - edited Unit tests have been added:
  • org.ow2.petals.binding.rest.exchange.outgoing.RestProvideServiceTest#bigAttachment()
  • org.ow2.petals.binding.rest.exchange.outgoing.RestProvideServiceSSLTest#bigAttachment()
Hide
Christophe DENEUX added a comment - Fri, 2 Apr 2021 - 15:36:19 +0200 - edited

After bumping Apache HTTP Async client to 4.1.4 (PETALSBCREST-94) the problem always exists, so the problem is located into the Petals BC Rest.

Show
Christophe DENEUX added a comment - Fri, 2 Apr 2021 - 15:36:19 +0200 - edited After bumping Apache HTTP Async client to 4.1.4 (PETALSBCREST-94) the problem always exists, so the problem is located into the Petals BC Rest.
Hide
Christophe DENEUX added a comment - Mon, 12 Apr 2021 - 11:24:46 +0200

The problem was located in streaming layer of the Petals BC Rest. It was reworked and the problem is solved.

Show
Christophe DENEUX added a comment - Mon, 12 Apr 2021 - 11:24:46 +0200 The problem was located in streaming layer of the Petals BC Rest. It was reworked and the problem is solved.
Hide
Christophe DENEUX added a comment - Mon, 12 Apr 2021 - 11:47:41 +0200

Fixed in branch petals-bc-rest-1.3.x and petals-bc-rest-junit-1.3.x

Show
Christophe DENEUX added a comment - Mon, 12 Apr 2021 - 11:47:41 +0200 Fixed in branch petals-bc-rest-1.3.x and petals-bc-rest-junit-1.3.x
Hide
Christophe DENEUX added a comment - Mon, 12 Apr 2021 - 11:48:02 +0200

Reopened to be merged in trunk

Show
Christophe DENEUX added a comment - Mon, 12 Apr 2021 - 11:48:02 +0200 Reopened to be merged in trunk
Hide
Christophe DENEUX added a comment - Mon, 12 Apr 2021 - 14:37:42 +0200

Merged in trunk

Show
Christophe DENEUX added a comment - Mon, 12 Apr 2021 - 14:37:42 +0200 Merged in trunk
Hide
Christophe DENEUX added a comment - Tue, 27 Apr 2021 - 09:53:31 +0200

Reopened because HTTP body is no more dumped as DEBUG trace

Show
Christophe DENEUX added a comment - Tue, 27 Apr 2021 - 09:53:31 +0200 Reopened because HTTP body is no more dumped as DEBUG trace
Hide
Christophe DENEUX added a comment - Tue, 27 Apr 2021 - 09:54:41 +0200

Traces added in branch petals-bc-rest-1.3.x

Show
Christophe DENEUX added a comment - Tue, 27 Apr 2021 - 09:54:41 +0200 Traces added in branch petals-bc-rest-1.3.x
Hide
Christophe DENEUX added a comment - Tue, 27 Apr 2021 - 09:55:13 +0200

Reopened to merge traces adding in trunk

Show
Christophe DENEUX added a comment - Tue, 27 Apr 2021 - 09:55:13 +0200 Reopened to merge traces adding in trunk
Hide
Christophe DENEUX added a comment - Tue, 27 Apr 2021 - 11:19:11 +0200

Merged in trunk

Show
Christophe DENEUX added a comment - Tue, 27 Apr 2021 - 11:19:11 +0200 Merged in trunk

People

Dates

  • Created:
    Fri, 2 Apr 2021 - 11:30:05 +0200
    Updated:
    Tue, 27 Apr 2021 - 11:19:34 +0200
    Resolved:
    Tue, 27 Apr 2021 - 11:19:11 +0200