add socket.close_fd

This commit is contained in:
Cloud Wu
2015-12-06 16:48:28 +08:00
parent 3a2766dd0e
commit d4d188541f
4 changed files with 27 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ function server.auth_handler(token)
user = crypt.base64decode(user)
server = crypt.base64decode(server)
password = crypt.base64decode(password)
assert(password == "password")
assert(password == "password", "Invalid password")
return server, user
end