我有9台ubuntu服务器(EC2)在ELB后面工作, 即使请求不是从ELB发送,服务器似乎也会随机响应空响应,
Apache监视器上没有捕获错误日志, 在访问日志中没有捕获特殊超时或408, 两者都返回状态200,
我唯一可以看到带有响应的请求和带有空响应的请求之间的不同之处是标题:
良好的回复标题:
Cache-Control:
no-cache, must-revalidate
Connection: close
Content-Length: 3 KBytes
Content-Type: application/json
Date:
2014 Oct 10 17:41:39-15s
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Server: Apache/2.2.22 (Ubuntu)
X-Powered-By: PHP/5.3.10-1ubuntu3.13
错误的回复标题:
Connection: close
Content-Encoding: gzip
Content-Length: 20 Bytes
Content-Type: application/json
Date:
2014 Oct 10 17:41:26-13s
Server: Apache/2.2.22 (Ubuntu)
Vary: Accept-Encoding
X-Powered-By: PHP/5.3.10-1ubuntu3.13
有什么想法吗?