Commit Diff


commit - 89e73ad4b4e66921fc20c5afbe17042aee77a329
commit + 60f5dd5b29e701b3ab601addd3cdefb508acc7d1
blob - 91ff779677c969ec9b8ee299de386cd75f606097
blob + dff9336f65af4c2f7e581185d1396047e7b5d92b
--- src/ngircd/conn.c
+++ src/ngircd/conn.c
@@ -756,7 +756,8 @@ Conn_Handler(void)
 				continue; /* TLS/SSL layer needs to write data; deal with this first */
 #endif
 			if (Proc_InProgress(&My_Connections[i].proc_stat)) {
-				/* Wait for completion of resolver sub-process ... */
+				/* Wait for completion of forked subprocess
+				 * and ignore the socket in the meantime ... */
 				io_event_del(My_Connections[i].sock,
 					     IO_WANTREAD);
 				continue;
@@ -772,6 +773,7 @@ Conn_Handler(void)
 					     IO_WANTREAD);
 				continue;
 			}
+
 			io_event_add(My_Connections[i].sock, IO_WANTREAD);
 		}
 
@@ -1073,7 +1075,7 @@ Conn_Close( CONN_ID Idx, const char *LogMsg, const cha
 		    in_k, out_k);
 	}
 
-	/* cancel running resolver */
+	/* Kill possibly running subprocess */
 	if (Proc_InProgress(&My_Connections[Idx].proc_stat))
 		Proc_Kill(&My_Connections[Idx].proc_stat);