Pārlūkot izejas kodu

32kB window is actually larger than our typical receive ring size.

Shrink to 4kB for now.  We might want to see if it can be made
genuinely indicative of the RX ring size in the new TCP
implementation.
tags/v0.9.3
Michael Brown 18 gadus atpakaļ
vecāks
revīzija
bcdcd796fb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/net/uip/uipopt.h

+ 1
- 1
src/net/uip/uipopt.h Parādīt failu

@@ -328,7 +328,7 @@ extern void uip_udp_appcall ( void );
328 328
  *
329 329
  * \hideinitializer
330 330
  */
331
-#define UIP_RECEIVE_WINDOW   32768
331
+#define UIP_RECEIVE_WINDOW   4096
332 332
 
333 333
 /**
334 334
  * Determines if support for TCP urgent data notification should be

Notiek ielāde…
Atcelt
Saglabāt