With this patch ovsdb-server no longer blocks waiting for the remote server
connection when doing replication.

Signed-off-by: Mario Cabrera <[email protected]>
---
ovsdb/replication.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ovsdb/replication.c b/ovsdb/replication.c
index c5b2368..8226cb9 100644
--- a/ovsdb/replication.c
+++ b/ovsdb/replication.c
@@ -216,8 +216,7 @@ open_jsonrpc(const char *server)
     struct stream *stream;
     int error;
-    error = stream_open_block(jsonrpc_stream_open(server, &stream,
-                                                  DSCP_DEFAULT), &stream);
+    error = jsonrpc_stream_open(server, &stream, DSCP_DEFAULT);
     return error ? NULL : jsonrpc_open(stream);
}
--
1.9.1
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to