lp:~zoni/rocket/rocket

Created by Nick Groenen and last modified
Get this branch:
bzr branch lp:~zoni/rocket/rocket
Only Nick Groenen can upload to this branch. If you are Nick Groenen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Nick Groenen
Project:
Rocket Web Server
Status:
Development

Recent revisions

196. By Nick Groenen

Fix growing by negative amount when max_threads = 0

grow() checks if max_threads has been reached, in which case it refuses
to grow any further. It does this with:
 amount = min([amount, self.max_threads - len(self.threads)])

With max_threads = 0 (indicating grow indefinitely), the latter will
always be a negative number, causing grow() to grow by a negative amount.

With this commit, this check against max_threads is skipped when
max_threads = 0, ensuring it will always keep growing in this case.

195. By Tim

This is 1.2.4

194. By Tim

Address some Python 3 compatibility issues and clean up a test.

193. By Tim

BUGFIX #744053: socket timeout problem fixed.

Also some unittest cleanups for Py 2.7 (that may break other versions)

192. By Tim

FileLikeSocket is not ready for prime-time. Leave the code for experimentation but commented out.

191. By Tim

BUGFIX: Rocket will allow you to start/stop willy-nilly. Previous, it tried to start joined threads. This is fruitless. Once a thread is joined, it's gone. The changes to make this happen were to make listener host a thread instead of be a thread, create a new monitor thread each time the server is started and make threadpool create (and start) threads upon service startup.

190. By Tim

BUGFIX: Occasionally, a server restart would not restart. This was because Nones were being put on the monitor_queue and not pulled off. The next time the server would start, the monitor_queue would die immediately. This is now fixed.

The whole shutdown process has gone through a reorganization.

189. By Tim

Added a locktype that prevents starting and stopping at the same time.

188. By Tim

BUGFIX: Handle several scenarios where shutdown could throw an exception.

187. By Tim

Added a middleware class to futures.py

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:rocket
This branch contains Public information 
Everyone can see this information.

Subscribers