Overview
| Artifact ID: | f0fbcdebaa15a450bc0e6af7b37955389ed5d72a |
|---|---|
| Ticket: | 1969953fffffffffffffffffffffffffffffffff
Buffersize should clip, not ignore, big values |
| User & Date: | ferrieux on 2008-05-22 21:57:07 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
The [fconfigure -buffersize] value is documented as having a valid range of [1,1000000], fine. First, this is inaccurate, since the code uses the value 1M (1024*1024, not 1000*1000) instead. Second, when a value larger than 1M is given, it is silently ignored, staying at its previous value. In most cases this means the default of 4k. Bottom line: people try to improve their throughput on large transfers by setting large values, and it has no effect, and no error message tells them about the mechanism. I find this behavior stupid. We should: - either clip large values to the max allowed - or raise an error if out of range Please find attached a patch doing the former.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "ferrieux"
- subsystem changed to: "24. Channel Commands"
- title changed to: "Buffersize should clip, not ignore, big values"
- type changed to: "Bug"