mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-29 21:08:24 +00:00
Merge pull request #1798 from Yeicor/patch-1
Remove mg_hexdump from deliver_chunked_chunks
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -2237,7 +2237,7 @@ static void deliver_chunked_chunks(struct mg_connection *c, size_t hlen,
|
|||||||
ofs += pl + dl + 2, del += pl + 2; // 2 is for \r\n suffix
|
ofs += pl + dl + 2, del += pl + 2; // 2 is for \r\n suffix
|
||||||
processed += dl;
|
processed += dl;
|
||||||
if (c->recv.len != saved) processed -= dl, buf -= dl;
|
if (c->recv.len != saved) processed -= dl, buf -= dl;
|
||||||
mg_hexdump(c->recv.buf, hlen + processed);
|
//mg_hexdump(c->recv.buf, hlen + processed);
|
||||||
last = (dl == 0);
|
last = (dl == 0);
|
||||||
}
|
}
|
||||||
mg_iobuf_del(&c->recv, hlen + processed, del);
|
mg_iobuf_del(&c->recv, hlen + processed, del);
|
||||||
|
|||||||
+1
-1
@@ -897,7 +897,7 @@ static void deliver_chunked_chunks(struct mg_connection *c, size_t hlen,
|
|||||||
ofs += pl + dl + 2, del += pl + 2; // 2 is for \r\n suffix
|
ofs += pl + dl + 2, del += pl + 2; // 2 is for \r\n suffix
|
||||||
processed += dl;
|
processed += dl;
|
||||||
if (c->recv.len != saved) processed -= dl, buf -= dl;
|
if (c->recv.len != saved) processed -= dl, buf -= dl;
|
||||||
mg_hexdump(c->recv.buf, hlen + processed);
|
//mg_hexdump(c->recv.buf, hlen + processed);
|
||||||
last = (dl == 0);
|
last = (dl == 0);
|
||||||
}
|
}
|
||||||
mg_iobuf_del(&c->recv, hlen + processed, del);
|
mg_iobuf_del(&c->recv, hlen + processed, del);
|
||||||
|
|||||||
Reference in new issue
Block a user