Changeset 2305


Ignore:
Timestamp:
6/25/2011 3:25:00 PM (3 years ago)
Author:
lowjoel
Message:

Supplant r2304 for future versions of Eraser were we may not want to buffer our output to include the content-length header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser/UpdateForm.cs

    r1677 r2305  
    548548                    responseBuffer.AddRange(tmpDest); 
    549549 
     550                    //Skip the progress report if the server did not specify how long the 
     551                    //response is, such as when using chunked transfers 
     552                    if (resp.ContentLength == -1) 
     553                        continue; 
     554 
    550555                    float progress = responseBuffer.Count / (float)resp.ContentLength; 
    551556                    OnProgress(new ProgressEventArgs(progress, progress, null, 
Note: See TracChangeset for help on using the changeset viewer.