more upnp logging and made the upnp test build again
This commit is contained in:
parent
49bd69cad4
commit
d320928e8f
|
@ -566,7 +566,8 @@ void upnp::on_upnp_xml(asio::error_code const& e
|
|||
|
||||
#ifdef TORRENT_UPNP_LOGGING
|
||||
m_log << time_now_string()
|
||||
<< " <== Rootdevice response, found control URL: " << s.control_url << std::endl;
|
||||
<< " <== Rootdevice response, found control URL: " << s.control_url
|
||||
<< " namespace: " << d.service_namespace << std::endl;
|
||||
#endif
|
||||
|
||||
d.control_url = s.control_url;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "libtorrent/upnp.hpp"
|
||||
#include "libtorrent/socket.hpp"
|
||||
#include "libtorrent/connection_queue.hpp"
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/ref.hpp>
|
||||
|
||||
|
@ -21,7 +22,8 @@ int main(int argc, char* argv[])
|
|||
return 1;
|
||||
}
|
||||
|
||||
upnp upnp_handler(ios, address_v4(), user_agent, &callback);
|
||||
connection_queue cc(ios);
|
||||
upnp upnp_handler(ios, cc, address_v4(), user_agent, &callback);
|
||||
|
||||
deadline_timer timer(ios);
|
||||
timer.expires_from_now(seconds(2));
|
||||
|
|
Loading…
Reference in New Issue