[ovs-dev] [PATCH 0/3] Fix bugs in jsonrpc that we previously fixed in rconn

Ben Pfaff blp at nicira.com
Wed Aug 8 23:14:49 UTC 2012


The problem fixed in commit 612be57384 also exists in the jsonrpc
code, although we haven't actually observed it there.  This series
fixes that problem in jsonrpc too, as a preemptive measure.

Ben Pfaff (3):
  reconnect: Rename reconnect_received() to reconnect_activity().
  jsonrpc: Treat draining data from send queue as activity.
  jsonrpc: Treat receiving part of a message as activity.

 lib/jsonrpc.c           |   34 ++++++++++++++++++++++-
 lib/jsonrpc.h           |    1 +
 lib/reconnect.c         |   32 +++++++++++-----------
 lib/reconnect.h         |    6 ++--
 python/ovs/jsonrpc.py   |   25 ++++++++++++++++-
 python/ovs/reconnect.py |   29 ++++++++++---------
 tests/reconnect.at      |   68 +++++++++++++++++++++++-----------------------
 tests/test-reconnect.c  |   14 +++++-----
 tests/test-reconnect.py |   14 +++++-----
 9 files changed, 140 insertions(+), 83 deletions(-)

-- 
1.7.2.5




More information about the dev mailing list