what is a smart server?
adrian.wilkins at gmail.com
Mon Jul 14 13:33:35 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
> But then I get to section 10, where is speaks about setting up the
> smart server with fastcgi/mod_python. Here the solution is clearly
> independent of the port (actually it can handle any port apache deals
> with), it uses the bzr+http protocol, moreover I see no reason why to
> run "bzr serve" in the background if every request is processed
> through apache and further processed locally in the wsgi handler.
bzr+http:// is a hybrid of dumb and smart ;
In order for the "smart" side of the service to work, the "dumb" side
needs to be working too ; even in smart mode the client makes several
requests with URIs that do not terminate "/.bzr/smart", so not all
required requests are processed by the wsgi handler.
You are correct in that you don't require a "bzr serve" process to be
running for bzr+http:// access, or for bzr+ssh:// either (the latter
starts it's own process on the server in the identity of your SSH user -
"bzr serve --inet --directory=/").
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar