Posted on 2005-08-13 20:24:17-07 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
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.