Software /
code /
prosody
Diff
net/http/parser.lua @ 11727:f3aee8a825cc
Fix various spelling errors (thanks codespell)
Also special thanks to timeless, for wordlessly reminding me to check
for typos.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 27 Jul 2021 00:13:18 +0200 |
parent | 11184:2ede7f43ccfe |
child | 12882:9ed628635dc6 |
line wrap: on
line diff
--- a/net/http/parser.lua Sun Jul 25 18:58:25 2021 +0200 +++ b/net/http/parser.lua Tue Jul 27 00:13:18 2021 +0200 @@ -30,7 +30,7 @@ if not parser_type or parser_type == "server" then client = false; else assert(parser_type == "client", "Invalid parser type"); end local bodylimit = tonumber(options_cb and options_cb().body_size_limit) or 10*1024*1024; -- https://stackoverflow.com/a/686243 - -- Indiviual headers can be up to 16k? What madness? + -- Individual headers can be up to 16k? What madness? local headlimit = tonumber(options_cb and options_cb().head_size_limit) or 10*1024; local buflimit = tonumber(options_cb and options_cb().buffer_size_limit) or bodylimit * 2; local buffer = dbuffer.new(buflimit);