don't shutdown write channel of iocLogServer to allow logClient to detect disconnect

This commit is contained in:
2019-09-18 16:08:15 +02:00
parent 5801ff233a
commit bad6295108
-12
View File
@@ -486,18 +486,6 @@ static void acceptNewClient ( void *pParam )
}
}
status = shutdown(pclient->insock, SHUT_WR);
if(status<0){
char sockErrBuf[64];
epicsSocketConvertErrnoToString ( sockErrBuf, sizeof ( sockErrBuf ) );
fprintf (stderr, "%s:%d shutdown err %s\n", __FILE__, __LINE__,
sockErrBuf);
epicsSocketDestroy ( pclient->insock );
free(pclient);
return;
}
status = fdmgr_add_callback(
pserver->pfdctx,
pclient->insock,