From c506269ff5656772fdf739c61bf1aceac4fe9060 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 27 Jul 2021 00:13:18 +0200 Subject: Fix various spelling errors (thanks codespell) Also special thanks to timeless, for wordlessly reminding me to check for typos. --- net/http/parser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') 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); -- cgit v1.2.3