ats按照官方配置如下:
ip_allow.config
src_ip=127.0.0.1                                  action=ip_allow method=ALL
records.config
CONFIG proxy.config.http.push_method_enabled INT 1

telnet发送push请求:
telnet 127.0.0.1 8080
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
PUSH http://www.company.com HTTP/1.0
Content-length: 84

HTTP/1.0 200 OK
Content-type: text/html
Content-length: 17

<HTML>
a
</HTML>HTTP/1.0 404 Not Found
Date: Wed, 05 Sep 2018 11:57:03 GMT
Server: ATS/7.1.4
Cache-Control: no-store
Content-Type: text/html
Content-Language: en
Content-Length: 297

<HTML>
<HEAD>
<TITLE>Not Found on Accelerator</TITLE>
</HEAD>

<BODY BGCOLOR="white" FGCOLOR="black">
<H1>Not Found on Accelerator</H1>
<HR>

<FONT FACE="Helvetica,Arial"><B>
Description: Your request on the specified host was not found.
Check the location and try again.
</B></FONT>
<HR>
</BODY>
Connection closed by foreign host.

返回404? why 

[ Full content available at: 
https://github.com/apache/trafficserver/issues/4197 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to