-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25292/
-----------------------------------------------------------
Review request for cloudstack and Devdeep Singh.
Bugs: CLOUDSTACK-6898
https://issues.apache.org/jira/browse/CLOUDSTACK-6898
Repository: cloudstack-git
Description
-------
Console was freezing because we read data from socket in blocking mode.
During reboot it was blocking infintely.
To fix issue, now we are reading data in non-blocking mode.
In non-blocking mode I set the timeout to 5 seconds.
Diffs
-----
services/console-proxy-rdp/rdpconsole/src/main/java/streamer/SyncLink.java
94281d2
services/console-proxy-rdp/rdpconsole/src/main/java/streamer/apr/AprSocketSource.java
0298349
Diff: https://reviews.apache.org/r/25292/diff/
Testing
-------
tested console is working fine during reboot. Now it freezes 5-6 seconds before
becoming responsive again.
Thanks,
Anshul Gangwar