Disable uIP connection polling for now - this seems to corrupt the buffers.
[pub/USBasp.git] / Projects / Webserver / Lib / uIPManagement.c
index a2cadd6..1b94e8a 100644 (file)
@@ -175,6 +175,7 @@ static void uIPManagement_ProcessIncommingPacket(void)
 /** Manages the currently open network connections, including TCP and (if enabled) UDP. */\r
 static void uIPManagement_ManageConnections(void)\r
 {\r
+#if 0\r
        /* Poll TCP connections for more data to send back to the host */\r
        for (uint8_t i = 0; i < UIP_CONNS; i++)\r
        {\r
@@ -189,7 +190,7 @@ static void uIPManagement_ManageConnections(void)
                        RNDIS_Host_SendPacket(&Ethernet_RNDIS_Interface, uip_buf, uip_len);\r
                }\r
        }\r
-\r
+#endif\r
        /* Manage open connections for timeouts */\r
        if (timer_expired(&ConnectionTimer))\r
        {\r