瀏覽代碼

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 年之前
父節點
當前提交
bcdcd796fb
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/net/uip/uipopt.h

+ 1
- 1
src/net/uip/uipopt.h 查看文件

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

Loading…
取消
儲存