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:
parent
7c16c0e431
commit
ec4abdec09
|
@ -8,7 +8,7 @@
|
|||
# requiring LW_BYTES is set), the log is emitted after the connection is
|
||||
# closed, so the address and ports cannot be retrieved anymore.
|
||||
#
|
||||
# It could be argued that we'd make a special case of these to immediatly
|
||||
# It could be argued that we'd make a special case of these to immediately
|
||||
# retrieve the source and destination addresses from the connection, but it
|
||||
# seems cleaner to simply pin the front connection, marking it "tracked" by
|
||||
# adding the LW_XPRT flag to mention that we'll need some of these elements
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue