aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-27 00:13:18 +0200
committerKim Alvefur <zash@zash.se>2021-07-27 00:13:18 +0200
commitc506269ff5656772fdf739c61bf1aceac4fe9060 (patch)
treee4cd04869d2730f975a5cd27fc5a9a08485390e6 /net/http
parent9ced42c9fb1f8428fca87bfdf02472d72421e881 (diff)
downloadprosody-c506269ff5656772fdf739c61bf1aceac4fe9060.tar.gz
prosody-c506269ff5656772fdf739c61bf1aceac4fe9060.zip
Fix various spelling errors (thanks codespell)
Also special thanks to timeless, for wordlessly reminding me to check for typos.
Diffstat (limited to 'net/http')
-rw-r--r--net/http/parser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/parser.lua b/net/http/parser.lua
index 96f17fdb..7fbade4c 100644
--- a/net/http/parser.lua
+++ b/net/http/parser.lua
@@ -30,7 +30,7 @@ function httpstream.new(success_cb, error_cb, parser_type, options_cb)
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);