Revision d6ba37dc

View differences:

mongoose.c
5338 5338
    }
5339 5339

  
5340 5340
    if (zero_chunk_received) {
5341
      hm->message.len = (size_t) pd->chunk.body_len + blen - i;
5341
      /* Total message size is len(body) + len(headers) */
5342
      hm->message.len =
5343
          (size_t) pd->chunk.body_len + blen - i + (hm->body.p - hm->message.p);
5342 5344
    }
5343 5345
  }
5344 5346

  

Also available in: Unified diff