durusmail: quixote-users: Making Quixote work in a threaded Web server.
Making Quixote work in a threaded Web server.
2002-10-04
2002-10-04
2002-10-04
2002-10-04
2002-10-06
2002-10-07
2002-10-16
2002-10-16
2002-10-16
2002-10-16
2002-10-17
2002-10-17
2002-10-17
2002-10-16
2002-10-16
Making Quixote work in a threaded Web server.
Titus Brown
2002-10-07
-> Attached is a patch that makes three changes minimally necessary to support
-> a model for one request/thread, multiple requests per publisher.
->
-> The patch is to publish.py in the current CVS, and the changes are:
->
-> 1. start_time is now an instance variable of the request, not the publisher;
->
-> 2. Publisher.try_publish now uses an accessor function 'set_request()' to
->      set the request, and another accessor function 'clear_request()'
->      to clear the request;
->
-> 3. get_request and the associated module-level functions in publish.py (which
->      are exported as 'quixote.get_request()' etc.) now use accessor
->      functions on the publisher to get/set the request.
->
-> And, of course, the three functions 'get_', 'set_', and 'clear_'request() are
-> all implemented.

Actually attached this time!

--titus
reply