SSL Handshake performed on accept thread
using the built-in ssl support with CherryPy requires one to use "handshake on connect" feature. This is done on the accept thread and since it involves substantial communications between the client and server, it ties up the accept thread for a considerable time.
It would be preferable if there were a way to hand an un-wrapped connection off to the ThreadPool, and have the adapter.wrap() performed by the worker thread. This would free up the accept thread to immediately start another connection.
There are ugly workarounds that involve having the adapter cause a new thread to be created that does its own server.tick() but it is not very pleasing to the eye.
Reported by firstname.lastname@example.org