This is an automated email from the ASF dual-hosted git repository.
bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 1e9b121 Windows: Excluded some unix socket code.
1e9b121 is described below
commit 1e9b121273a6d9248a78ab44798bd4c1138c31ee
Author: Joseph Wu <[email protected]>
AuthorDate: Wed Jan 29 09:35:32 2020 +0100
Windows: Excluded some unix socket code.
Unix sockets are currently not supported on Windows, so should
be excluded from the build.
Review: https://reviews.apache.org/r/72018/
---
3rdparty/libprocess/src/http.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/3rdparty/libprocess/src/http.cpp b/3rdparty/libprocess/src/http.cpp
index 0f8dc56..b8ff3de 100644
--- a/3rdparty/libprocess/src/http.cpp
+++ b/3rdparty/libprocess/src/http.cpp
@@ -1620,6 +1620,7 @@ Future<Connection> connect(const URL& url)
#endif
}
+#ifndef __WINDOWS__
if (scheme == "http+unix") {
if (!url.domain.isSome()) {
return Failure("'http+unix' scheme requires domain (filesystem path)");
@@ -1637,6 +1638,7 @@ Future<Connection> connect(const URL& url)
return connect(*address, Scheme::HTTP, url.domain);
}
+#endif // __WINDOWS__
return Failure("Unsupported URL scheme");
}