digistump/DigiFi — pull request #1 by ags131 (2013-09-11 18:11:40+00:00)
Title: Possibly fixed timeout issues

I believe I may have fixed the response issue, I can run 100 get requests without a single error after these changes, before I would occasionally get a timeout.

Also, it now skips setting the connection info if its the same host, this seemed to speed up the code slightly, possibly due to dns. I also noticed that the first get request directly after the digix is powered usually takes longer, hence the timeout bump to 15 seconds.

Code used for testing:
https://copy.com/vesae1HzfeXzrxGS

(Get requests were to a server I run, http://server5.ags131.com/test.php?abc=123)