[mod_python] webinterface for a local telnet server

Andreas Klauer Andreas.Klauer at metamorpher.de
Fri Oct 6 09:49:13 EDT 2006

On Fri, Oct 06, 2006 at 09:21:18AM -0400, Sean Davis wrote:
> Could you put in a persistent backend daemon that your mod_python processes 
> can talk to, which knows the mapping from user to connection?  

I can, but what would be the least complicated way to do so?

The only solution I have so far is quite complicated, a daemon that opens 
one connection per user / session to the telnet server, and accepts one 
connection per mod_python thread. For the daemon<->python connections I 
would have to implement some kind of a protocol that allows sharing the 
connection for all users. Alternative would be to use one connection per 
user per thread to the daemon. Either way it is a lot of overhead.

Or is there some easier way in mod_python to implement an independent 
persistent backend daemon object?

Andreas Klauer

More information about the Mod_python mailing list