diff --git a/test/tool/net/uuidv4_test.lua b/test/tool/net/uuidv4_test.lua index a0fcaa670..1dfe3aefe 100644 --- a/test/tool/net/uuidv4_test.lua +++ b/test/tool/net/uuidv4_test.lua @@ -18,6 +18,6 @@ assert(string.sub(UuidV4(), 9, 9) == "-") assert(string.sub(UuidV4(), 14, 14) == "-") assert(string.sub(UuidV4(), 15, 15) == "4") assert(string.sub(UuidV4(), 19, 19) == "-") -local y = string.sub(UuidV4(), 20, 20) +y = string.sub(UuidV4(), 20, 20) assert(y == "8" or y == "9" or y == "a" or y == "b") assert(string.sub(UuidV4(), 24, 24) == "-") diff --git a/tool/net/help.txt b/tool/net/help.txt index ab6af435d..d1e671607 100644 --- a/tool/net/help.txt +++ b/tool/net/help.txt @@ -1089,7 +1089,7 @@ FUNCTIONS - keepalive (default = false): configures each request to keep the connection open (unless closed by the server) and reuse for the next request to the same host. This option is disabled when SSL - connection is used. + connection is used. The mapping of hosts and their sockets is stored in a table assigned to the `keepalive` field itself, so it can be passed to the next call.