You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/05/06 15:18:00 UTC

[jira] [Created] (DISPATCH-2103) Log the actual HTTP websocket listener port when 0 was specified in config

Jiri Daněk created DISPATCH-2103:
------------------------------------

             Summary: Log the actual HTTP websocket listener port when 0 was specified in config
                 Key: DISPATCH-2103
                 URL: https://issues.apache.org/jira/browse/DISPATCH-2103
             Project: Qpid Dispatch
          Issue Type: New Feature
    Affects Versions: 1.15.0
            Reporter: Jiri Daněk


{code}
    if (hl->vhost) {
        /* Store hl pointer in vhost */
        void *vp = lws_protocol_vh_priv_zalloc(hl->vhost, &protocols[0], sizeof(hl));
        memcpy(vp, &hl, sizeof(hl));
        qd_log(hs->log, QD_LOG_NOTICE, "Listening for HTTP on %s", config->host_port);
        return;
    } else {
        qd_log(hs->log, QD_LOG_NOTICE, "Error listening for HTTP on %s", config->host_port);
        goto error;
    }
    return;
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org