Web server plug-in request and response optimization properties
View or change the request and response optimization properties for a web server plug-in.
From the admin console, click...
Servers > Server Types > Web servers > web_server > Plug-in properties > Request and response
- Maximum chunk size used when reading the HTTP response body
- Enable Nagle algorithm for connections to the Application Server
- Enable Nagle Algorithm for the IIS Web Server
- Chunk HTTP response to the client
- Accept content for all requests
- Virtual host matching
- Application server port preference
Maximum chunk size used when reading the HTTP response body
Maximum chunk size the plug-in can use when reading the response body.
This field corresponds to the ResponseChunkSize element in the plugin-cfg.xml file.
The plug-in reads the response body in 64K chunks until all of the response data is read. This approach causes a performance problem for requests whose response body contains large amounts of data.
If the content length of the response body is unknown, the values specified for this property is used as the size of the buffer that is allocated. The response body is then read in this size chunks, until the entire body is read. If the content length is known, then a buffer size of either the content length or the specified size (whichever is less) is used to read the response body.
Information Value Data type Integer Default 64 kilobytes Specify the size in kilobytes (1024 byte blocks).
Enable Nagle algorithm for connections to the Application Server
When checked, the Nagle algorithm is enabled for connections between the plug-in and the Application Server.
This field corresponds to the ASDisableNagle element in the plugin-cfg.xml file.
The Nagle algorithm is named after engineer John Nagle, who invented this standard part of the transmission control protocol/internet protocol (TCP/IP). The algorithm reduces network overhead by adding a transmission delay (usually 200 milliseconds) to a small packet, which lets other small packets arrive and be included in the transmission. Because communications has an associated cost that is not as dependent on packet size as it is on frequency of transmission, this algorithm potentially reduces overhead with a more efficient number of transmissions.
By default, this field is selected, and the Nagle algorithm is enabled. Unselect this field to disable the Nagle algorithm.
Enable Nagle Algorithm for the IIS Web Server
When checked, the Nagle algorithm is used for connections from the Microsoft Internet Informations Services (IIS) Web Server to the application server.
This field corresponds to the IISDisableNagle element in the plugin-cfg.xml file. It only applies if we are using the Microsoft Internet Informations Services (IIS) Web Server.
By default, this field is not selected, and the Nagle algorithm is disabled. Select this field to enable the Nagle algorithm for this connection.
Chunk HTTP response to the client
When checked, responses to the client are broken into chunks if a Transfer-Encoding : Chunked response header is present in the response.
This field corresponds to the ChunkedResponse element in the plugin-cfg.xml file. It only applies if we are using a Microsoft Internet Informations Services (IIS) Web Server, a Java System web server, or a Domino Web Server. The IBM HTTP Server automatically handles breaking the response into chunks to send to the client.
By default, this field is not checked, and responses are not broken into chunks. Select this field to enable responses to the client to be broken into chunks if a Transfer-Encoding : Chunked response header is present in the response.
Accept content for all requests
This field corresponds to the AcceptAllContent element in the plugin-cfg.xml file.
When selected, we can include content in GET, and HEAD requests when a Content-Length or Transfer-encoding header is contained in the request header.
By default, this field is checked.
Select this field to enable users to include content in GET, and HEAD requests when a Content-Length or Transfer-encoding header is contained in the request header.
For transitioning users: The Accept content for all requests setting on the administrative console corresponds to the AcceptAllContent attribute in the plugin-cfg.xml file. Beginning with v8.0, the default for the setting is checked and for the attribute is true. Before v8, the default for the setting is not checked and for the attribute is false.trns
Virtual host matching
When selected, virtual host mapping is performed by physically using the port number for which the request was received.
This field corresponds to the VHostMatchingCompat element in the plugin-cfg.xml file.
By default, this field is not checked, and matching is done logically using the port number contained in the host header. Select this field if we want virtual host mapping performed by physically using the port number for which the request was received.
Use the radio buttons to make our physical or logical port selection.
Application server port preference
Port number the Application Server should use to build URIs for a sendRedirect. This field is only applicable for a sendRedirect if we use relative URIs and does not affect absolute redirects. This field also specifies where to retrieve the value for HttpServletRequest.getServerPort().
This field corresponds to the AppServerPortPreference element in the plugin-cfg.xml file.
Specify:
- hostHeader if the port number from the host header of the HTTP request coming in is to be used.
- webserverPort if the port number on which the web server received the request is to be used.
The default is hostHeader.
- Implement a web server plug-in
- Object names: What the name string cannot contain
- Web server plug-in properties