More Rewrite Request Within SocketServer?

Paul Rubin http
Fri May 27 03:44:42 EDT 2005


John Abel <jabel at plus.net> writes:
> OK, I'm guessing what I was after ( see below ) isn't possible.  Does
> anyone know of an easy way of having verify_request inform the request
> handler of certain events, say client is unauthorised?  I thought of
> having it set a flag, and referring to it from the handler class (
> self.server.hostAllowed for example ), but that wouldn't work quite
> right in a threaded server.

I'd think you could do that.  Isn't the new thread already started
when the verify method runs?



More information about the Python-list mailing list