src/server/daemon/httprequest.c

changeset 659
07b815faa6ac
parent 649
3887fd7e8bd7
equal deleted inserted replaced
658:7290604d846d 659:07b815faa6ac
373 rq->host = NULL; // TODO: value from listener 373 rq->host = NULL; // TODO: value from listener
374 } 374 }
375 rq->port = request->connection->listener->port; 375 rq->port = request->connection->listener->port;
376 376
377 if(rq->host) { 377 if(rq->host) {
378 VirtualServer *vs = cxMapGet(sn->config->host_vs, cx_hash_key_str(rq->host)); 378 VirtualServer *vs = cxMapGet(sn->config->host_vs, rq->host);
379 if(vs) { 379 if(vs) {
380 rq->vs = vs; 380 rq->vs = vs;
381 } else { 381 } else {
382 log_ereport( 382 log_ereport(
383 LOG_VERBOSE, 383 LOG_VERBOSE,

mercurial