buffer3 = new byte[num2 - num1]; if (!application1.Context.Response.IsClientConnected && (stream1.FStatus == RequestStream.FileStatus.Open)) {
this.ClearApplication(application1); }
num3 = request1.ReadEntityBody(buffer3, buffer3.Length);
list2 = stream1.ContentBody; if (list2.Count > 0) {
buffer4 = new byte[list2.Count + buffer3.Length];
list2.CopyTo(buffer4, 0);
buffer3.CopyTo(buffer4, list2.Count); stream1 = new RequestStream(buffer4, buffer1, stream1.FileStream, stream1.FStatus, stream1.RStatus, text3, flag1,
application1.Context, stream1.OriginalFileName); } else
{
stream1 = new RequestStream(buffer3, buffer1, stream1.FileStream, stream1.FStatus, stream1.RStatus, text3, flag1,
application1.Context, stream1.OriginalFileName); }
list1.AddRange(stream1.ReadBody); if (text2 != string.Empty) {
progress1.ReceivedLength = num1 + buffer3.Length;
progress1.FileName = stream1.OriginalFileName; progress1.FileCount = ((Hashtable) application1.Context.Items[\ if (flag1) {
progress1.UploadStatus =
Progress.UploadStatusEnum.Uploaded; } else {
application1.Application.Remove(\ +
text2); } } }
byte[] buffer5 = new byte[list1.Count]; list1.CopyTo(buffer5);
this.PopulateRequestData(request1, buffer5); }
catch (Exception exception1) {
this.ClearApplication(application1); throw exception1; }