[Xorp-cvs] XORP cvs commit: xorp/libxipc

Pavlin Radoslavov pavlin at icir.org
Thu Jul 12 10:46:05 PDT 2007


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2007-07-12 17:46:05 UTC

XORP CVS repository


Modified files:
	libxipc       finder_tcp.cc finder_tcp.hh finder_tcp_messenger.cc 
	              finder_tcp_messenger.hh test_finder_tcp.cc 

Log message:
	Bug fix in the corner case when FinderTcpMessenger::read_event()
	calls FinderTcp::close() because of an error.
	
	Now the read_event() method returns a bool value to indicate whether
	it succeeded or whether it has called close(). In the latter case,
	the FinderTcpBase::read_callback() returns immediately after a call
	to read_event() and doesn't perform operations on instances that
	have been deleted by FinderTcp::close().

Revision  Changes                               Path
1.35      +3 -2;  commitid: 14441469667db7ea6;  xorp/libxipc/finder_tcp.cc
1.22      +4 -2;  commitid: 14441469667db7ea6;  xorp/libxipc/finder_tcp.hh
1.30      +6 -5;  commitid: 14441469667db7ea6;  xorp/libxipc/finder_tcp_messenger.cc
1.18      +2 -2;  commitid: 14441469667db7ea6;  xorp/libxipc/finder_tcp_messenger.hh
1.24      +3 -2;  commitid: 14441469667db7ea6;  xorp/libxipc/test_finder_tcp.cc



More information about the Xorp-cvs mailing list