GitHub user mike-jumper opened a pull request:
https://github.com/apache/incubator-guacamole-server/pull/28
GUACAMOLE-118: Use poll() instead of select()
In most cases, this was an extremely simple change. The change for RDP was
slightly more complex, as an RDP connection may involve many file descriptors.
The form of the change should nonetheless look familiar.
Beware that I had to reformat RDP's "wait for messages" function somewhat,
such that the behavior of the function could be more easily verified.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mike-jumper/incubator-guacamole-server
poll-migration
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-guacamole-server/pull/28.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #28
----
commit 9d6d2aeba7fd772de14dfe6f2ed4b0fc5a719fb3
Author: Michael Jumper <[email protected]>
Date: 2016-11-11T21:03:43Z
GUACAMOLE-118: Migrate to poll() instead of select() for file descriptor
guac_socket implementation.
commit 12d575b8e6922001e7c520f115e77ae540b68341
Author: Michael Jumper <[email protected]>
Date: 2016-11-11T21:06:05Z
GUACAMOLE-118: Migrate to poll() instead of select() for guacd's SSL/TLS
guac_socket implementation.
commit a1fc5bc733f50c54e261352312a4b90d21731b07
Author: Michael Jumper <[email protected]>
Date: 2016-11-11T21:12:12Z
GUACAMOLE-118: Use poll() when waiting for data to be written to the
terminal emulator.
commit 168359344e4003768b57704b6daca53095bec19f
Author: Michael Jumper <[email protected]>
Date: 2016-11-11T21:13:48Z
GUACAMOLE-118: Use poll() when waiting for data from Telnet.
commit 2421fc2f11fd94b099acde844591bb348c86f1e3
Author: Michael Jumper <[email protected]>
Date: 2016-11-11T21:16:57Z
GUACAMOLE-118: Use poll() when waiting for data from SSH.
commit c12e26404a07333b6edc20c0ec1f68d8ae49ac10
Author: Michael Jumper <[email protected]>
Date: 2016-11-11T21:45:01Z
GUACAMOLE-118: Use poll() when waiting for data from RDP. Reformat for sake
of readability/verification.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---