Parcourir la source

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 il y a 18 ans
Parent
révision
bcdcd796fb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/net/uip/uipopt.h

+ 1
- 1
src/net/uip/uipopt.h Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer