# HG changeset patch # User Matthew Wild # Date 1260235329 0 # Node ID b04014f42fce84be594897c5a0196cd4472d72e6 # Parent 2a163f6a4bc2e5c86a95f2d549324523c2586980 net.server_select: Add get_backend() method diff -r 2a163f6a4bc2 -r b04014f42fce net/server_select.lua --- a/net/server_select.lua Tue Dec 08 01:16:24 2009 +0000 +++ b/net/server_select.lua Tue Dec 08 01:22:09 2009 +0000 @@ -845,6 +845,10 @@ return "quitting" end +local function get_backend() + return "select"; +end + --// EXPERIMENTAL //-- local wrapclient = function( socket, ip, serverport, listeners, pattern, sslctx, startssl ) @@ -917,5 +921,6 @@ getsettings = getsettings, setquitting = setquitting, removeserver = removeserver, + get_backend = get_backend, changesettings = changesettings, }