# # # patch "netsync.cc" # from [bc5f922d5fe64129f7b83d196f971c793974fbb1] # to [416f9ac69dd370fd26ad5053517a15e1b3873369] # ============================================================ --- netsync.cc bc5f922d5fe64129f7b83d196f971c793974fbb1 +++ netsync.cc 416f9ac69dd370fd26ad5053517a15e1b3873369 @@ -3462,12 +3462,16 @@ serve_connections(app_state & app, shared_ptr listen(new listener(opts, lua, project, keys, react, role, addresses, guard, use_ipv6)); - shared_ptr al(new automate_listener(app, guard, - react, use_ipv6)); react.add(listen, *guard); - react.add(al, *guard); + if (!app.opts.bind_automate_uris.empty()) + { + shared_ptr al(new automate_listener(app, guard, + react, use_ipv6)); + react.add(al, *guard); + } + while (true) { if (!guard)