Documentation Source Text

Check-in [35fcd6cd5b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Change the default maximum POST size in althttpd to 20MB.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 35fcd6cd5b2559e52f54324414b18983a5cc0f59
User & Date: drh 2014-05-29 15:46:34
Context
2014-05-30
17:01
Enhancements to malloc.html documentation to address concerns arising out of heartbleed. check-in: 2bc13084bc user: drh tags: trunk
2014-05-29
15:46
Change the default maximum POST size in althttpd to 20MB. check-in: 35fcd6cd5b user: drh tags: trunk
14:08
Update the cli.html document and the change log for the .system and the .once enhancements to the command-line shell. check-in: a0826e6976 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to misc/althttpd.c.

    90     90   /*
    91     91   ** Configure the server by setting the following macros and recompiling.
    92     92   */
    93     93   #ifndef DEFAULT_PORT
    94     94   #define DEFAULT_PORT "80"
    95     95   #endif
    96     96   #ifndef MAX_CONTENT_LENGTH
    97         -#define MAX_CONTENT_LENGTH 9000000
           97  +#define MAX_CONTENT_LENGTH 20000000
    98     98   #endif
    99     99   
   100    100   /*
   101    101   ** We record most of the state information as global variables.  This
   102    102   ** saves having to pass information to subroutines as parameters, and
   103    103   ** makes the executable smaller...
   104    104   */