CLEANUP: fix typos in reg-tests

Fix typos in comments and error messages of reg-tests. Note that this
has not been qualified as minor as it is used for testing purposes, not
end-users.
This commit is contained in:
Joseph Herlant
2018-11-13 20:15:49 -08:00
committed by Willy Tarreau
parent 7c16c0e431
commit ec4abdec09
2 changed files with 3 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ core.Info("4")
repeat
local d = socket:receive(res.contentlength)
if d == nil then
-- core.Info("luacurl, ERROR?: recieved NIL, expecting "..res.contentlength.." bytes only got "..string.len(res.body).." sofar")
-- core.Info("luacurl, ERROR?: received NIL, expecting "..res.contentlength.." bytes only got "..string.len(res.body).." sofar")
return
else
res.body = res.body..d
@@ -116,7 +116,7 @@ core.Info("4")
break
end
end
-- core.Info("processhttpresponse, Loopy, get more body data! to recieve complete contentlenght")
-- core.Info("processhttpresponse, Loopy, get more body data! to receive complete contentlenght")
until false
end
if res.headers["Transfer-Encoding"] ~= nil and res.headers["Transfer-Encoding"] == "chunked" then