Bläddra i källkod

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 19 år sedan
förälder
incheckning
bcdcd796fb
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/net/uip/uipopt.h

+ 1
- 1
src/net/uip/uipopt.h Visa fil

328
  *
328
  *
329
  * \hideinitializer
329
  * \hideinitializer
330
  */
330
  */
331
-#define UIP_RECEIVE_WINDOW   32768
331
+#define UIP_RECEIVE_WINDOW   4096
332
 
332
 
333
 /**
333
 /**
334
  * Determines if support for TCP urgent data notification should be
334
  * Determines if support for TCP urgent data notification should be

Laddar…
Avbryt
Spara