Layer7 API Management

 View Only

 Chunked Transfer Encoding - Chunk Size

Adarsh Shetty's profile image
Adarsh Shetty posted Jan 05, 2021 09:17 AM
Hello Everyone,

New Year Greetings!!


When the request is made directly to the backend API using a testing tool [Fiddler], I get complete response in one Chunk with Transfer Encoding set as Chunked.

But when the request is made via Layer7 Gateway [Policy just has one routing assertion] to the same backend API, I see that response is chunked to 8KB [2000 Hex] chunks.

Can anyone tell me why the chunk size is getting set to 8KB. Is this configurable at Gateway?

Thanks,
Adarsh

Adarsh Shetty's profile image
Adarsh Shetty
Received below response via support case

The current default behaviour of Gateway where response size is chunked to 8KB is not configurable in the current version.
This will be made configurable in the future release where the default size can be changed but it would still remain static. i.e cannot be changed based on the incoming request.