Skip to content

Commit db206ab

Browse files
committed
doc: a follow-up fix for commit 4d77cae.
1 parent b6f5877 commit db206ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/HttpLuaModule.wiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5299,7 +5299,7 @@ Timeout for the reading operation is controlled by the [[#lua_socket_read_timeou
52995299
sock:settimeout(1000) -- one second timeout
53005300
local data, err = sock:receive()
53015301
if not data then
5302-
ngx.say("failed to read a packet: ", data)
5302+
ngx.say("failed to read a packet: ", err)
53035303
return
53045304
end
53055305
ngx.say("successfully read a packet: ", data)

0 commit comments

Comments
 (0)