Commit in reactos/drivers/lib/oskittcp/oskittcp on MAIN
tcp_output.c+111.6 -> 1.7
- Workaround infinite loop on loopback connect.

reactos/drivers/lib/oskittcp/oskittcp
tcp_output.c 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- tcp_output.c	4 Dec 2004 23:29:56 -0000	1.6
+++ tcp_output.c	12 Dec 2004 17:03:01 -0000	1.7
@@ -707,6 +707,17 @@
 		((struct ip *)ti)->ip_off |= IP_DF;
 	}
 #endif
+        /*
+         * XXX: It seems that osktittcp expect synchronous packet processing
+         * and so our current asynchronous way causes infinite loop. The
+         * ACK flags are normally masked out at the end of this function
+         * and the incomming packets are processed then, but since 
+         * currently the loopback packet can be received during the 
+         * ip_output call, the function end is never reached.
+         */
+#ifdef __REACTOS__
+	tp->t_flags &= ~(TF_ACKNOW|TF_DELACK);
+#endif
 	error = ip_output(m, tp->t_inpcb->inp_options, &tp->t_inpcb->inp_route,
 			  so->so_options & SO_DONTROUTE, 0);
     }
CVSspam 0.2.8