Sun Java System Web Server 6.1 SP10 Administrator's Configuration File Reference

Chunked Encoding

This section lists directives that control chunked encoding. For more information, see the Sun Java System Web Server 6.1 SP10 NSAPI Programmer’s Guide.

UseOutputStreamSize

The UseOutputStreamSize directive determines the default output stream buffer size for the net_read and netbuf_grab NSAPI functions.


Note –

The UseOutputStreamSize parameter can be set to 0 in the obj.conf file to disable output stream buffering. For the magnus.conf file, setting UseOutputStreamSize to 0 has no effect.


Syntax

UseOutputStreamSize size

The size value is the number of bytes.

Default

The default value is 8192 (8 KB).

ChunkedRequestBufferSize

The ChunkedRequestBufferSize directive determines the default buffer size for “un-chunking” request data.

Syntax

ChunkedRequestBufferSize size

The size value is the number of bytes.

Default

The default value is 8192.

ChunkedRequestTimeout

The ChunkedRequestTimeout directive determines the default timeout for “un-chunking” request data. While AcceptTimeout determines how long the server waits for an individual packet, the ChunkedRequestTimeout determines how long the server will wait for all packets in total when reassembling a chunked request entity body. As a result, ChunkedRequestTimeout should typically be greater than or equal to AcceptTimeout.

Syntax

ChunkedRequestTimeout seconds

The seconds value is the number of seconds.

Default

The default value is 60 (1 minute).