soup-address: fix proxy enumerator implementation
authorDan Winship <danw@gnome.org>
Thu, 18 Apr 2013 14:30:32 +0000 (10:30 -0400)
committerDan Winship <danw@gnome.org>
Thu, 18 Apr 2013 14:30:32 +0000 (10:30 -0400)
commit8c5ae3c24c95381b52530ac76a80598bb750c1ef
tree7b226a335a961f0bdb7ae1d57659c8b75dbc4542
parent1498c1a6dcb7f6b9aab93838bc9dfd55fd2a5c59
soup-address: fix proxy enumerator implementation

When creating a GProxyAddressEnumerator, the destination URI passed to
it must include the port number, or the proxy may end up trying to
connect to port 0. libsoup was omitting the port number when it was
the default for the protocol.

https://bugzilla.gnome.org/show_bug.cgi?id=698163
libsoup/soup-address.c
libsoup/soup-misc-private.h
libsoup/soup-uri.c