Comparison

net/server_event.lua @ 7042:20ac6972b9aa

Merge 0.10->trunk
author Matthew Wild <mwild1@gmail.com>
date Sat, 02 Jan 2016 20:42:53 +0000
parent 6929:03bc9e197fcc
parent 7040:bdcea2dd33b8
child 7225:a74f0b7be6bf
comparison
equal deleted inserted replaced
7038:22f36a3d6369 7042:20ac6972b9aa
612 local function handleserver( server, addr, port, pattern, listener, sslctx ) -- creates an server interface 612 local function handleserver( server, addr, port, pattern, listener, sslctx ) -- creates an server interface
613 debug "creating server interface..." 613 debug "creating server interface..."
614 local interface = { 614 local interface = {
615 _connections = 0; 615 _connections = 0;
616 616
617 type = "server";
617 conn = server; 618 conn = server;
618 onconnect = listener.onconnect; -- will be called when new client connected 619 onconnect = listener.onconnect; -- will be called when new client connected
619 eventread = false; -- read event handler 620 eventread = false; -- read event handler
620 eventclose = false; -- close event handler 621 eventclose = false; -- close event handler
621 readcallback = false; -- read event callback 622 readcallback = false; -- read event callback