1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-18 04:59:16 +02:00

8 lines
167 B
Lua
Raw Normal View History

2016-05-09 23:28:47 +08:00
io.stdout:setvbuf 'no'
2016-05-09 21:33:08 +08:00
function read_query(packet)
if packet:byte() == proxy.COM_QUERY then
print("we got a normal query: " .. packet:sub(2))
end
end