tor 2012-12-13 klockan 00:45 -0800 skrev Tianyin Xu:
> Accoding to the code, when setting "tcp_recv_bufsize", Squid also set
> the same amount as tcp_send_bufsize? And the send log printing message
> (line# 1794) seems problematic because the failure is caused by
> setting "tcp_send_bufsize" (the flag is SO_SNDBUF). If we really want
> to set the send buffer size, why not add another directive?
Memory have faded a bit over the years but commit message says
revno: 8451
committer: hno
branch nick: HEAD
timestamp: Fri 2007-08-24 23:56:45 +0000
message:
Make tcp_recv_bufsize apply to send buffers as well, in an
attempt to control window scaling
the main reason to set tcp_recv_bufsize is to avoid problems
related to large windows. For example many firewalls still have
problems with window scaling.
this change makes the option apply to send buffers as well, and
also hints Linux that Squid will never increase the buffer so
the window scaling should be clamped to the indicated buffer
size.
Regards
Henrik
Received on Thu Dec 13 2012 - 09:37:53 MST
This archive was generated by hypermail 2.2.0 : Thu Dec 13 2012 - 12:00:11 MST