souphttpsrc: handle empty http proxy string
authorEunhae Choi <eunhae1.choi@samsung.com>
Thu, 30 Jul 2015 02:29:27 +0000 (11:29 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 31 Jul 2015 09:54:02 +0000 (10:54 +0100)
commit8b6a26170346ccf5d01052229a0618d593b910c5
tree7401137fcac927b3c7845e9853c6a46d0bd8671d
parent09684870719e8c90e28afd587af12cea3e13060d
souphttpsrc: handle empty http proxy string

1) If the system http_proxy environment variable is not set
or set to an empty string, we must not set proxy to avoid
http connection error.

2) In case of proxy property setting, if user want to clear
the proxy setting, they should be able to set it to NULL or
an empty string again, so this is fixed too.

3) Check if the proxy string was parsed correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=752866
ext/soup/gstsouphttpsrc.c