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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » Connection Parameters and Network Protocol Options » Network protocol options

MaxConnections protocol option [MAXCONN] Next Page

MaxRequestSize protocol option [MAXSIZE]

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




Integer [ k | m | g ]




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

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

dbsrv10 -xs http{MaxRequestSize=150000}