SoupLogger: fix printing of Host header with IPv6 literal
authorDan Winship <danw@gnome.org>
Sat, 17 Nov 2012 16:36:00 +0000 (11:36 -0500)
committerDan Winship <danw@gnome.org>
Sat, 17 Nov 2012 16:37:23 +0000 (11:37 -0500)
commitd51d1d2b513439798024cf9474a2ed4f00f4c2d3
treef49f4d4be95ac24d36dce5e0145e29315746e5ae
parent2d58084816390a61d384bfc150e5383dabdf7448
SoupLogger: fix printing of Host header with IPv6 literal

SoupLogger was misprinting Host headers with IPv6 literals (even
though soup-message-client-io was sending them correctly). Fix that.

Also includes an addition to misc-test to verify that the Host header
received by the server is correct (which it already was, but the
SoupLogger bug made me think it wasn't.)
libsoup/soup-logger.c
tests/misc-test.c