HTTP-Proxy - Any way to tell HTTP::Proxy to end?

Posted on Sat Aug 13 23:24:17 2005 by bblakley
Any way to tell HTTP::Proxy to end?

First, thanks for such a great module.

Just as you use start() to start the main loop, is there any accessor that can be used to tell the main loop to end? I see that there is an accessor called "loop" that is denoted as "read-only" and is described as "Internal. False when the main loop is about to be broken." However, other than reaching the specified maxconn value I don't see anything that would ever cause the loop to *be* broken.

As an operator I can press Ctrl-C or Ctrl-Break to exit a program that has called start(), but I'm guessing there is probably a way to "break" it programmatically.

Direct Responses: 879 | Write a response