3 ms·
Awesome! Now that lua is included it'd be awesome to bundle SQLite and some sort of TLS implementation. Then this would have everything needed for a application
by SahAssar 6y ago
Awesome! Now that lua is included it'd be awesome to bundle SQLite and some sort of TLS implementation. Then this would have everything needed for a application platform!
Is there some way to configure the size limit of requests? Right now it's capped at 64kb, which is a bit limiting for some use-cases.
- SahAssar 6y ago(Can't edit the original comment anymore) If anyone else wants to increase the limit you can edit redbean.c and set inbuf.n to your desired size on line 4540. It would be nice if it could be set as a cli param or at runtime in lua though.
- jart 6y agoAuthor here. I agree. I've added the feature you've requested as a -M INT flag in https://github.com/jart/cosmopolitan/commit/1966369e8eaa894b80f3e2378ce8041d8606fcef https://github.com/jart/cosmopolitan/commit/1966369e8eaa894b... and pushed a new 0.4.1 release to the website https://justine.lol/redbean/index.html https://justine.lol/redbean/index.html