Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Configure inbound HTTP request chunking

 

Inbound HTTP request chunking is used to eliminate the restriction on messages greater than 10MB. The 10MB restriction is set because the entire message is buffered in the controller before the HTTP request is dispatched to the servant, therefore, the controller may fail with an out of memory condition when multiple large HTTP messages are processed simultaneously. With chunking enabled, the message is broken up into smaller pieces before it is processed by the Web container and application. As a result, only one small chunk is buffered in memory at a time in the controller thus greatly reducing the amount of memory consumed by large HTTP messages. Applications do not require changes to enable inbound HTTP chunking.

 

Overview

Inbound HTTP request chunking, is configured at the Web container transport chain level. You can configure each Web container chain to enable or disable chunking. When chunking is enabled for a particular chain, you can also configure the maximum chunk size for chunking enabled for each chain.

The chains that host the Integrated Solutions console have chunking enabled by default, while all other Web container chains have chunking disabled by default.

 

Procedure

  1. In the administrative console click Servers > Application Servers > server_name > Web Container settings > Web container transport chains

  2. Select a transport chain.

  3. Optional: Enable request message chunking. See the article, Web container transport channel custom properties for details on these settings.

    1. Under Additional Properties select Custom Properties.

    2. On the Custom Properties page, click New.

    3. On the settings page, enter the property, disableRequestMessageChunking in the Name field and the enter the value, false, in the Value field.

    4. Click Apply or OK.

  4. Optional: Enable request message chunking. See the article, Web container transport channel custom properties for details on these settings.

    1. Under Additional Properties select Custom Properties.

    2. On the Custom Properties page, click New.

    3. On the settings page, enter the property, disableRequestMessageChunking in the Name field and the enter the value, false, in the Value field.

  5. Optional: Disable request message chunking. See the article, Web container transport channel custom properties for details on these settings.

    1. Under Additional Properties select Custom Properties.

    2. On the Custom Properties page, click New.

    3. On the settings page, enter the property, disableRequestMessageChunking in the Name field and the enter the value, true, in the Value field.

    4. Click Apply or OK.

  6. Click Save on the console task bar to save your configuration changes.

  7. Restart the server.




}
HTTP transport settings

 

Related information


Transport chains
Web container inbound transport channel settings
Web container transport channel custom properties