|
@@ -1352,7 +1352,7 @@ waitForConnectionCapacity(outstandingConnList * const outstandingConnListP) {
|
|
void
|
|
void
|
|
ServerHandleSigchld(pid_t const pid) {
|
|
ServerHandleSigchld(pid_t const pid) {
|
|
|
|
|
|
- ThreadHandleSigchld(pid);
|
|
|
|
|
|
+ //ThreadHandleSigchld(pid);
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -1388,7 +1388,6 @@ destroyConnSocket(void * const userHandle) {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-#include "../../dprint.h"
|
|
|
|
static void
|
|
static void
|
|
serverRun2(TServer * const serverP) {
|
|
serverRun2(TServer * const serverP) {
|
|
|
|
|
|
@@ -1423,6 +1422,8 @@ serverRun2(TServer * const serverP) {
|
|
if (!error) {
|
|
if (!error) {
|
|
addToOutstandingConnList(outstandingConnListP, connectionP);
|
|
addToOutstandingConnList(outstandingConnListP, connectionP);
|
|
ConnProcess(connectionP);
|
|
ConnProcess(connectionP);
|
|
|
|
+ SocketClose(connectedSocketP);
|
|
|
|
+
|
|
/* When connection is done (which could be later, courtesy
|
|
/* When connection is done (which could be later, courtesy
|
|
of a background thread), destroyConnSocket() will
|
|
of a background thread), destroyConnSocket() will
|
|
destroy *connectedSocketP.
|
|
destroy *connectedSocketP.
|