apache/trafficserver — pull request #39 by sydpz (2014-02-12 06:03:34+00:00)
Title: TS-2531: add a nohost_rule check for proxy request

This change is used to solve the problem TS-2531.

Below is my test method:

1. config remap.config as below:
=======================
map / http://127.0.0.1:8885/
=======================
(127.0.0.1:8885 is my backend server.)

2. start this new ATS:
=======================
sudo ./bin/traffic_server --httpport 80:fd=7,443:fd=8:ssl
=======================

3. use command "telnet localhost 80" to send a request like TS-2531:
=======================
GET http://localhost/test
=======================

Now , a 200 OK response returns.