For servers behind various types of load balancers a 204 response may be returned and is an indication of a successful connect and transaction, but will have an empty body.
echoping currently returns an error if the server returns a 204 status.
/usr/local/bin/echoping -v -t 5 -h /nodebalancer -A -n 5 host.domain.com:80
This is /usr/local/bin/echoping, version 6.0.2.
Trying to connect to internet address 192.168.0.1 80 to transmit 131 bytes...
Connected...
TCP Latency: 0.039548 seconds
Sent (131 bytes)...
Application Latency: 0.039457 seconds
Error reading HTTP body (Illegal seek)
For servers behind various types of load balancers a 204 response may be returned and is an indication of a successful connect and transaction, but will have an empty body.
echoping currently returns an error if the server returns a 204 status.
Please see RFC 2616, 10.2 for details on 204 response codes http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
A pull request will be submitted shortly with a proposed change for your review. Thank you for supporting this very useful utility.