mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
Only copy questions when creating reply
In particular, there may be additional records which should not be copied PUBLISHED_FROM=6b348868cb62d7b3fc4df0e935ffd5a31a314a08
This commit is contained in:
1 parent
466183113f
commit
083d398631
6 files changed
+41
-28
No files matched your search
@@ -18,7 +18,7 @@
|
||||
},
|
||||
{
|
||||
"type": "markdown",
|
||||
"name": "mg_dns_copy_body.md"
|
||||
"name": "mg_dns_copy_questions.md"
|
||||
},
|
||||
{
|
||||
"type": "markdown",
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
---
|
||||
title: "mg_dns_copy_body()"
|
||||
decl_name: "mg_dns_copy_body"
|
||||
symbol_kind: "func"
|
||||
signature: |
|
||||
int mg_dns_copy_body(struct mbuf *io, struct mg_dns_message *msg);
|
||||
---
|
||||
|
||||
Append already encoded body from an existing message.
|
||||
|
||||
This is useful when generating a DNS reply message which includes
|
||||
all question records.
|
||||
|
||||
Return number of appened bytes.
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: "mg_dns_copy_questions()"
|
||||
decl_name: "mg_dns_copy_questions"
|
||||
symbol_kind: "func"
|
||||
signature: |
|
||||
int mg_dns_copy_questions(struct mbuf *io, struct mg_dns_message *msg);
|
||||
---
|
||||
|
||||
Append already encoded questions from an existing message.
|
||||
|
||||
This is useful when generating a DNS reply message which includes
|
||||
all question records.
|
||||
|
||||
Return number of appened bytes.
|
||||
|
||||
Reference in new issue
Block a user