From 7cbe8220f6bcf4577838607129b95fe888a79446 Mon Sep 17 00:00:00 2001 From: adolfintel Date: Fri, 29 Jun 2018 17:47:08 +0200 Subject: [PATCH] Updated doc.md --- doc.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc.md b/doc.md index 8c492c9..38cc49b 100644 --- a/doc.md +++ b/doc.md @@ -396,6 +396,10 @@ You're running the test on localhost, therefore it is trying to measure the spee #### Ping test shows double the actual ping Make sure your server is sending the ```Connection:keep-alive``` header +#### The server is behind a load balancer, proxy, etc. and I get the wrong IP address +Edit getIP.php and replace lines 5-13 with what is more appropriate in your scenario. +Example: ```$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];``` + ## Known bugs and limitations ### General * The ping/jitter test is measured by seeing how long it takes for an empty XHR to complete. It is not an acutal ICMP ping. Different browsers may also show different results, especially on very fast connections on slow devices.