28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
|
Index: wt-4.10.4/src/web/FileUtils.C
|
||
|
===================================================================
|
||
|
--- wt-4.10.4.orig/src/web/FileUtils.C
|
||
|
+++ wt-4.10.4/src/web/FileUtils.C
|
||
|
@@ -7,6 +7,7 @@
|
||
|
#include "web/FileUtils.h"
|
||
|
|
||
|
#include <boost/filesystem/operations.hpp>
|
||
|
+#include <boost/filesystem/directory.hpp>
|
||
|
|
||
|
#include "web/WebUtils.h"
|
||
|
#include "Wt/WException.h"
|
||
|
Index: wt-4.10.4/src/http/Server.C
|
||
|
===================================================================
|
||
|
--- wt-4.10.4.orig/src/http/Server.C
|
||
|
+++ wt-4.10.4/src/http/Server.C
|
||
|
@@ -331,8 +331,8 @@ std::vector<asio::ip::address> Server::r
|
||
|
LOG_DEBUG_S(&wt_, "Failed to resolve hostname \"" << address << "\" as IPv4: " <<
|
||
|
Wt::AsioWrapper::system_error(errc).what());
|
||
|
// Resolve IPv6
|
||
|
- query = Wt::AsioWrapper::asio::ip::tcp::resolver::query(Wt::AsioWrapper::asio::ip::tcp::v6(), address, "http");
|
||
|
- for (Wt::AsioWrapper::asio::ip::tcp::resolver::iterator it = resolver.resolve(query, errc);
|
||
|
+ asio::ip::tcp::resolver::query query6(asio::ip::tcp::v6(), address, "http");
|
||
|
+ for (Wt::AsioWrapper::asio::ip::tcp::resolver::iterator it = resolver.resolve(query6, errc);
|
||
|
!errc && it != end; ++it) {
|
||
|
result.push_back(it->endpoint().address());
|
||
|
}
|