mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
Remove extra error message
PUBLISHED_FROM=8b7fcfc1bc32ff9ff38e2904ddb730c83bf9fae4
This commit is contained in:
1 parent
53ed8502c9
commit
e406de7e00
48 files changed
+87
-87
No files matched your search
@@ -7,18 +7,18 @@ signature: |
|
||||
struct mg_dns_message *msg);
|
||||
---
|
||||
|
||||
Creates a DNS reply.
|
||||
Create a DNS reply.
|
||||
|
||||
The reply will be based on an existing query message `msg`.
|
||||
The query body will be appended to the output buffer.
|
||||
"reply + recursion allowed" will be added to the message flags and the
|
||||
"reply + recursion allowed" will be added to the message flags and
|
||||
message's num_answers will be set to 0.
|
||||
|
||||
Answer records can be appended with `mg_dns_send_reply` or by lower
|
||||
level function defined in the DNS API.
|
||||
|
||||
In order to send a reply use `mg_dns_send_reply`.
|
||||
It's possible to use a connection's send buffer as reply buffer,
|
||||
In order to send the reply use `mg_dns_send_reply`.
|
||||
It's possible to use a connection's send buffer as reply buffers,
|
||||
and it will work for both UDP and TCP connections.
|
||||
|
||||
Example:
|
||||
|
||||
Reference in new issue
Block a user