Commit 4121b875 authored by Joris Guisson's avatar Joris Guisson
Browse files

UPnP fix from trunk

svn path=/branches/ktorrent/2.0/; revision=592753
parent 4c53e36c
......@@ -350,6 +350,11 @@ namespace kt
bt::HTTPRequest* UPnPRouter::sendSoapQuery(const QString & query,const QString & soapact,const QString & controlurl)
// if port is not set, 0 will be returned
// thanks to Diego R. Brogna for spotting this bug
if (location.port()==0)
QString http_hdr = QString(
"POST %1 HTTP/1.1\r\n"
"HOST: %2:%3\r\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment