when setting blocksize, fix blockcount to 2 to reduce latency with smaller
block sizes.
This commit is contained in:
parent
c2995ba2d4
commit
a6295c60ae
@ -1158,6 +1158,8 @@ msschan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize)
|
||||
struct mss_chinfo *ch = data;
|
||||
|
||||
ch->blksz = blocksize;
|
||||
sndbuf_resize(ch->buffer, 2, ch->blksz);
|
||||
|
||||
return ch->blksz;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user