Commits (1)
......@@ -2326,13 +2326,13 @@ void output_thread(void* arg)
}
#endif
#endif
sbbs->outbuf.highwater_mark=i;
lprintf(LOG_DEBUG,"Autotuning outbuf highwater mark to %d based on MSS",i);
mss=sbbs->outbuf.highwater_mark;
if(mss>IO_THREAD_BUF_SIZE) {
mss=IO_THREAD_BUF_SIZE;
if(i>IO_THREAD_BUF_SIZE) {
lprintf(LOG_DEBUG,"MSS (%d) is higher than IO_THREAD_BUF_SIZE (%d)",i,IO_THREAD_BUF_SIZE);
i=IO_THREAD_BUF_SIZE;
}
sbbs->outbuf.highwater_mark=i;
mss=sbbs->outbuf.highwater_mark;
}
}
#endif
......