Issue #1301 resolved

CherryPy wsgiserver should reject conns when Queue.Full

Jason R. Coombs
created an issue

In 49b22a7, CherryPy 3.0 was updated to reject connections when Queue.Full. This change did not make it into 3.2.x. It should be ported forward.

Comments (8)

  1. Jason R. Coombs reporter

    Porting forward look challenging. The codebase has changed a lot. Also, the new server object has attributes that may or may not be related. For instance, Server.socket_timeout, Server.socket_queue_size, and Server.thread_pool_max seem related. However, there doesn't appear to be any handling of Queue.Full.

    Robert Brewer Do you have any hints about what is the right thing to do here?

  2. Allan Crooks

    I've tested this with Python 2 and 3, and appears to work. I've branched this off the CP3.3 development branch, but it can be easily transplanted against CP3.2.

  3. Log in to comment