diff --git a/examples/shrpx.cc b/examples/shrpx.cc index 552d41af..547f4837 100644 --- a/examples/shrpx.cc +++ b/examples/shrpx.cc @@ -86,7 +86,7 @@ int cache_downstream_host_address() namespace { void evlistener_errorcb(evconnlistener *listener, void *ptr) { - sleep(1); + LOG(ERROR) << "Accepting incoming connection failed"; } } // namespace