Fix so the Host: header in wxHTTP really works. With virtual hosts it
authorRobin Dunn <robin@alldunn.com>
Thu, 21 Feb 2002 00:01:32 +0000 (00:01 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 21 Feb 2002 00:01:32 +0000 (00:01 +0000)
commitce22d615fe940444602cf4c167f9ad29361a5d25
tree6eb02919031547474b58b13c9578d8ee5cdd2056
parentc79a329dcba198c0d8964aaaba3bd6fe114a7d34
Fix so the Host: header in wxHTTP really works.  With virtual hosts it
is vital that the original host name given in the URL is used in the
Host: header so the sever will use the right vhost config.  Previously
it was using the value returned from gethostbyaddr which will often
not be the same as the hostname in the URL.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/sckaddr.h
src/common/http.cpp
src/common/sckaddr.cpp