]> granicus.if.org Git - curl/commit
url: split off proxy init and parsing from create_conn
authorJay Satiro <raysatiro@yahoo.com>
Mon, 27 Feb 2017 20:36:16 +0000 (15:36 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Fri, 3 Mar 2017 08:14:25 +0000 (03:14 -0500)
commit9f20333443b693c49d4a98bae71b45cb0a526228
tree77ab1bf99384510ca9fcdcba9dd232c654d53a89
parentcbff751e9597b66a50b23491569865fe39682031
url: split off proxy init and parsing from create_conn

Move the proxy parse/init into helper create_conn_helper_init_proxy to
mitigate the chances some non-proxy code will be mistakenly added to it.

Ref: https://github.com/curl/curl/issues/1274#issuecomment-281556510
Ref: https://github.com/curl/curl/pull/1293

Closes https://github.com/curl/curl/pull/1298
lib/url.c