DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40883>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40883





------- Additional Comments From [EMAIL PROTECTED]  2006-11-04 16:27 -------
(In reply to comment #3)
> How do you sent the file? Via POST or via PUT?

I am using PUT but i suspect that the bug exists with POST also.  One of our
QA guy narrowed down the bug in method stream_reqbody_cl()

looks like function atol is the offending line.  It returns 0 for values
greater than 2GIG.  Changing to atoll () 0seems to work

    if (old_cl_val) {
        add_cl(p, bucket_alloc, header_brigade, old_cl_val);
        cl_val = atol(old_cl_val);   
    }

    while (!APR_BUCKET_IS_EOS(APR_BRIGADE_FIRST(input_brigade)))
    {

// more code here
// along with function atol setting cl_val to 0, this statement keeps looping 
// in the  WHILE loop
        if (bytes_streamed > cl_val)
             continue;




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to