libs/neuronet server: Attempted to fix a weird client disconnect bug.
commitc93393c11f147ad609821de65a25530fa1c171b2
authorNicholas Niro <nik_89@xroutine.net>
Thu, 3 Jul 2014 03:18:57 +0000 (2 23:18 -0400)
committerNicholas Niro <nik_89@xroutine.net>
Thu, 3 Jul 2014 03:18:57 +0000 (2 23:18 -0400)
treead69231367fec33957d0bdf793ca3c4bc3d18ba4
parent27a948e2f1c19592f689b3e2a7ee9a515652728c
libs/neuronet server: Attempted to fix a weird client disconnect bug.

This bug happens on a server instance, especially when the client pipe
is broken down (remote client closes the connection unexpectly). Not
all the time though, just from time to time. This fixes a segmentation
fault where the slave instance could not find the underlying master
pointer. This kind of fixes the consequence of the problem but does
not fix the cause. There has to be somewhere that does not correctly
allocate or set either the master or frees only partially a slave
struct.
libs/neuronet/server.c