This is an automated email from the ASF dual-hosted git repository.
bmahler pushed a commit to branch 1.5.x
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/1.5.x by this push:
new 6a8b61b Fixed the broken backport for MESOS-9787.
6a8b61b is described below
commit 6a8b61b59498dcea64d9380a233d517ce65dc2ef
Author: Benjamin Mahler <[email protected]>
AuthorDate: Fri May 17 12:25:32 2019 +0200
Fixed the broken backport for MESOS-9787.
---
3rdparty/libprocess/src/libevent_ssl_socket.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/3rdparty/libprocess/src/libevent_ssl_socket.cpp
b/3rdparty/libprocess/src/libevent_ssl_socket.cpp
index ccc0d33..405a5e4 100644
--- a/3rdparty/libprocess/src/libevent_ssl_socket.cpp
+++ b/3rdparty/libprocess/src/libevent_ssl_socket.cpp
@@ -1127,7 +1127,8 @@ void
LibeventSSLSocketImpl::accept_SSL_callback(AcceptRequest* request)
// Due to MESOS-9339, a slow reverse DNS lookup will cause
// serious issues as it blocks the event loop thread.
if (watch.elapsed() > Milliseconds(100)) {
- LOG(WARNING) << "Reverse DNS lookup for '" << *request->ip << "'"
+ LOG(WARNING) << "Reverse DNS lookup for"
+ << " '" << request->ip.get() << "'"
<< " took " << watch.elapsed().ms() << "ms"
<< ", slowness is problematic (see MESOS-9339)";
}