create_conn: mark non-HTTP proxies accordingly
authorDaniel Stenberg <daniel@haxx.se>
Thu, 4 Aug 2011 22:44:40 +0000 (00:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Aug 2011 22:44:40 +0000 (00:44 +0200)
commit17f343290c9888ab5f108b0e4c8f6510cff47959
treee4179931f6f705a20ed9e450a133635e8e793b80
parent75fa3d2d6ee2f2858b158142cb1574340d210898
create_conn: mark non-HTTP proxies accordingly

A proxy could be marked 'httpproxy' wrongly before if set with an
environment variable or with the CURLOPT_PROXY option with a socks*://
prefix or similar.

Added test 710 to verify

Bug: http://curl.haxx.se/mail/lib-2011-07/0194.html
lib/url.c