Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » SQL Anywhere Server - Database Administration » Starting and Connecting to Your Database » Connection parameters and network protocol options » Network protocol options

 

MaxRequestSize protocol option [MAXSIZE]

Specifies the size of the largest request the database server can accept.

Usage

HTTP, HTTPS

Values
Integer [ k | m | g ]
Default

100k

Remarks

The size of the largest request accepted by the server. The default value is in bytes, but you can use k, m, or g to specify units of kilobytes, megabytes, or gigabytes, respectively. If the size of a request exceeds this limit, the connection is closed and a 413 ENTITY TOO LARGE response is returned to the client. This value limits only the size of the request, not that of the response. The value 0 disables this limit, but should be used with extreme caution. Without this limit, a rogue client could overload the server or cause it to run out of memory.

See also
Example

The following command line (entered all on one line) instructs the server to accept requests up to 150000 bytes in size:

dbsrv11 -xs http{MaxRequestSize=150000}