Artifacts Associated With Ticket 1969953
Ticket change [f0fbcdebaa] (rid 109286) by ferrieux on 2008-05-22 21:57:07:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "ferrieux"
- subsystem initialized to: "24. Channel Commands"
- title initialized to: "Buffersize should clip, not ignore, big values"
- type initialized to: "Bug"
Add attachment "buffersize.patch" [048fbf7b20] (rid 120017) by ferrieux on 2008-05-23 04:57:08.
Ticket change [314e027ab8] (rid 93406) by ferrieux on 2008-05-23 04:57:09:
- icomment:
File Added - 278729: buffersize.patch
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [cb844e78db] (rid 95536) by ferrieux on 2008-05-23 05:02:59:
- icomment:
Logged In: YES user_id=496139 Originator: YES To argue further for doing something, see the number of raised reds herrings due to this behavior. Thinks about the total number of lost man-hours over the (unknown) number of silent sufferers..?? http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/648eb6bfff8da689/f99c56badea40470#f99c56badea40470
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [d707fc3ca3] (rid 123908) by andreas_kupries on 2008-05-24 04:34:45:
- closedate changed to: "2008-05-23T21:34:45"
- closer changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=75003 Originator: NO Committed to Tcl 8.4 branch. Updated testsuite. Committed to Tcl 8.5 branch. Updated testsuite. Committed to Tcl Head branch. Updated testsuite.
- login: "andreas_kupries"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "andreas_kupries"