http://ipv6-test.com:80/json/webdns.php?url=stad.gent is 373 characters
STATUS: HTTP/1.1 200 OK
**** HEADER ****
Date: Wed, 04 Nov 2015 11:42:57 GMT
Server: Apache/2.4.10 (Debian)
Access-Control: allow <http://ipv6-test.com>
Access-Control-Allow-Origin: http://ipv6-test.com
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
**** CONTENT ****
{"dns_ok"e,"ue,"dns_servers":["ns4.combell.net","ns3.combell.net"]}
HTTP OK: HTTP/1.1 200 OK - 373 bytes in 0.291 second response time |time=0.290510s;;;0.000000 size=373B;;;0
While it works with curl:
# curl -v 'http://ipv6-test.com/json/webdns.php?url=stad.gent' -H 'Accept: */*' -H 'Referer: http://ipv6-test.com/validate.php' -H 'X-Requested-With: XMLHttpRequest'
* About to connect() to ipv6-test.com port 80 (#0)
* Trying 5.135.165.173... connected
* Connected to ipv6-test.com (5.135.165.173) port 80 (#0)
> GET /json/webdns.php?url=stad.gent HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: ipv6-test.com
> Accept: */*
> Referer: http://ipv6-test.com/validate.php
> X-Requested-With: XMLHttpRequest
>
< HTTP/1.1 200 OK
< Date: Wed, 04 Nov 2015 11:44:14 GMT
< Server: Apache/2.4.10 (Debian)
< Access-Control: allow <http://ipv6-test.com>
< Access-Control-Allow-Origin: http://ipv6-test.com
< Vary: Accept-Encoding
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=UTF-8
<
* Connection #0 to host ipv6-test.com left intact
* Closing connection #0
{"dns_ok":true,"dns_servers":["ns3.combell.net","ns4.combell.net"]}#
I think we have the latest version of check_http (maybe not by version number, but I dont think it has actually changed since then and plugins version 2.1.1)
For clarification, what part of the check_http do you think is mangled?
Is it this part? {"dns_ok"e,"ue,"dns_servers":["ns4.combell.net","ns3.combell.net"]}
HTTP OK: HTTP/1.1 200 OK - 373 bytes in 0.291 second response time |time=0.290510s;;;0.000000 size=373B;;;0
against {"dns_ok":true,"dns_servers":["ns3.combell.net","ns4.combell.net"]}#
Sorry, we forgot that this check_http we had is not yet released. It's this version => 2.1 RC1. There was an update to check_http made by Spenser as it did not support chunking. If the old version is still working there might be an issue with the chunking fix?