diff --git a/src/httpapi/sse/private/__init__.py b/src/httpapi/sse/private/__init__.py index e9011e92..32934772 100644 --- a/src/httpapi/sse/private/__init__.py +++ b/src/httpapi/sse/private/__init__.py @@ -4,6 +4,7 @@ SSE API for node client access """ from flask import g, Blueprint from gevent import sleep +import gevent from onionrstatistics.transports.tor import TorStats from .. import wrapper @@ -25,6 +26,7 @@ from .. import wrapper private_sse_blueprint = Blueprint('privatesse', __name__) SSEWrapper = wrapper.SSEWrapper() +gevent.hub.Hub.NOT_ERROR = (gevent.GreenletExit, SystemExit, Exception) @private_sse_blueprint.route('/hello') def stream_hello(): diff --git a/static-data/default_config.json b/static-data/default_config.json index e4eef5ac..27e62d47 100755 --- a/static-data/default_config.json +++ b/static-data/default_config.json @@ -12,7 +12,7 @@ "insert_deniable_blocks": true, "max_block_age": 2678400, "public_key": "", - "random_bind_ip": false, + "random_bind_ip": true, "use_bootstrap_list": true, "store_plaintext_blocks": true, "show_notifications": true