Diff

core/s2smanager.lua @ 199:eccf66b42bd7

Added resource priority handling, etc
author Waqas Hussain <waqas20@gmail.com>
date Sun, 02 Nov 2008 06:36:42 +0500
parent 191:e64c8a44060f
child 225:bbbd169b326b
line wrap: on
line diff
--- a/core/s2smanager.lua	Sun Nov 02 02:23:52 2008 +0500
+++ b/core/s2smanager.lua	Sun Nov 02 06:36:42 2008 +0500
@@ -57,7 +57,7 @@
 local open_sessions = 0;
 
 function new_incoming(conn)
-	local session = { conn = conn,  priority = 0, type = "s2sin_unauthed", direction = "incoming" };
+	local session = { conn = conn, type = "s2sin_unauthed", direction = "incoming" };
 	if true then
 		session.trace = newproxy(true);
 		getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; print("s2s session got collected, now "..open_sessions.." s2s sessions are allocated") end;