Changeset 2220
- Timestamp:
- May 24, 2011 11:12:36 PM (2 years ago)
- File:
-
- 1 edited
-
ofw/inet/tcp.fth (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ofw/inet/tcp.fth
r1814 r2220 1956 1956 : alloc-buffers ( -- ) 1957 1957 wbuf-allocate 1958 d# 1024 d# 16 * to rbuf-len 1958 \ If rbuf-len is too large, the other end can send-ahead more data 1959 \ than some network interfaces can handle, leading to very poor 1960 \ performance and in some cases complete failure. Ideally we would 1961 \ size this dynamically based on the network interface characteristics 1962 \ (speed, buffering), but for now we don't have suitable information 1963 \ in the network interface device node. 1964 d# 1024 8 * to rbuf-len 1959 1965 rbuf-len alloc-mem to rbuf-adr 1960 1966 0 to rbuf-actual
Note: See TracChangeset
for help on using the changeset viewer.
