cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhtyd <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-9348: Make NioConnectio loop l...
Date Fri, 13 May 2016 03:28:30 GMT
Github user rhtyd commented on a diff in the pull request:
    --- Diff: utils/src/main/java/com/cloud/utils/nio/ ---
    @@ -615,7 +615,10 @@ public static boolean doHandshake(final SocketChannel socketChannel,
final SSLEn
                     case NEED_TASK:
                         Runnable task;
                         while ((task = sslEngine.getDelegatedTask()) != null) {
    -                        new Thread(task).run();
    +                        if (s_logger.isTraceEnabled()) {
    +                            s_logger.trace("SSL: Running delegated task!");
    +                        }
    +              ;
    --- End diff --
    @jburwell thanks for pointing out, I've made the runnable task run in the current thread
only. The delegated tasks in case of SSL handshake could be resolving domain names to address.

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 or file a JIRA ticket
with INFRA.

View raw message