« Previous | Next » 

Revision 86d1202e


Added by Stratos Psomadakis over 10 years ago

Make control connection handling async

For every incoming control connection, accept() inside the main loop and
dispatch the connection handling/establishment to a new greenlet.

The async handling of the control connections ensures that vncauhtproxy won't
hang again if the VNC server or client fail during the connection establishment

This commit also adds a larger (and configurable) backlog for the control
socket and a (configurable) timeout to the server socket, while doing the


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences