On 7/2/06, Bob Ippolito <[EMAIL PROTECTED]> wrote:
> Doing that with CherryPy should be awfully easy. Just time.sleep(60)
> before sending the answer, each connection has a thread.
>
> However, it's not going to scale very well. You really need a server
> that multiplexes connections if you're going to have long-lived ones.
> Sleeping threads still eat up a large chunk of RAM.

Hence my idea of "hijacking" the socket from the CP thread. Should not
be too hard to find the socket, I just don't know how to tell CP to
kill the thread without closing the socket.. is there something like
an exception I can throw or something? Maybe I would need to patch
CherryPy?

Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to