The v2 patches update v1 patches to avoid a socket closed immediately after sending some messages. If a sender closes a socket immediately after sending some data, a receiver can fail to receive full data from the sender.
>From v1 patches: William Fisher pointed out that Ryu on Python 3 will raise exception when failed negotiate the OpenFlow version. The following patches include the fix for this issue. Also, the following patches add a new option to close socket connecting to a switch after sending a specified message. IWASE Yusuke (5): controller: Improve pylint result controller: Option to close socket after sending Message controller: Wait for switch to disconnect connection ofp_handler: Close socket when HELLO failed ofproto: Encode data field on OFPErrorMsg ryu/controller/controller.py | 62 +++++++++++++++++++++++--------------- ryu/controller/ofp_handler.py | 13 ++++---- ryu/ofproto/ofproto_v1_0_parser.py | 2 ++ ryu/ofproto/ofproto_v1_2_parser.py | 2 ++ ryu/ofproto/ofproto_v1_3_parser.py | 2 ++ ryu/ofproto/ofproto_v1_4_parser.py | 2 ++ ryu/ofproto/ofproto_v1_5_parser.py | 2 ++ 7 files changed, 55 insertions(+), 30 deletions(-) -- 2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel