Command to check if open proxy works
Hello,
please what is the least server resources intensive linux command to veriffy an open proxy works.
I mean one should probably send and receive any data via this proxy? and if data found it returns true
Assuming proxy is 1.2.3.4:1080
I used this: curl -x $proxy $url --connect-timeout 8 --max-time 20
but it appears my proxy timeout, but still connect, not sure if after timeout no proxy is used, so i want to load via proxy or return false
Last edited by postcd; 03-19-2014 at 07:38 AM.
|