[Twisted-web] HTTPClient vs. HTTPClientFactory

Matthew Glubb matt at madebykite.com
Fri Apr 18 03:32:23 EDT 2008

Just to add:
On 18 Apr 2008, at 01:32, Andrew McNabb wrote:
> First, I think I understand the difference between protocol factories
> and protocols, but I could use a little reassurance.  My current
> understanding is that the protocol factory holds the state that is
> common to all connections, whereas the protocol holds the state  
> that is
> specific to a particular connection.  Is that an accurate  
> understanding?

While I would say that you shouldn't manage common state in your  
ServerFactory, for simple applications, it can be convenient to do so.


More information about the Twisted-web mailing list