Fix possible race in returning source port to pool
First make sure all sockets for a connection are closed,then return the source port number to the port pool.
This fixes a possible race where the greenlet gets preempted right afterreturning a port to the pool, and the port is picked up from the pool by...
Improve cleanup of worker greenlets
There are two worker greenlets per direction of an establishedconnection. This patch improves the way they are cleaned upby the main connection greenlet.
The workers are no longer linked together. This removes the hideous...
Fix a few more instances of logging
Fix a few more instances of logging, per pylint W6501,after commit c87d99e96.
Use gevent.sleep instead of time.sleep
Use green version of sleep() from gevent,so other greenlets get to run while a specific greenlet sleeps.
Make logging more consistent
Generate all logging-specific function members of VncAuthProxy("info", "error", etc) dynamically, from a single template.
Pass arguments to format string separately, as per pylint W6501,PEP282.
Fix minor typo
Be more verbose when waiting for client to connect
Support argument parsing in command line client
Make the vncauthproxy client a proper command line tool,by adding support for argument parsing. Also output debugginginformation to stderr.
Work with multiple versions of python-daemon
Make source PEP8-compliant
View revisions
Also available in: Atom