151
160
ctx = apr_palloc(ssltunnel_pool, sizeof(*ctx));
152
161
ctx->pool = ssltunnel_pool;
153
ctx->uri = apr_psprintf(ctx->pool, "%s:%d", conn->host_info.hostinfo,
162
ctx->uri = apr_psprintf(ctx->pool, "%s:%d", conn->host_info.hostname,
156
165
conn->ssltunnel_ostream = serf__bucket_stream_create(conn->allocator,
165
173
conn->state = SERF_CONN_SETUP_SSLTUNNEL;