mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Apply Mongoose docs edits by Ev
PUBLISHED_FROM=5cd78790a03580aa23dd3d2d8b825ad449083cc2
This commit is contained in:
1 parent
4f210cd8eb
commit
849ec1684a
94 files changed
+509
-491
No files matched your search
@@ -6,12 +6,12 @@ signature: |
|
||||
void mg_dns_send_reply(struct mg_connection *nc, struct mg_dns_reply *r);
|
||||
---
|
||||
|
||||
Send a DNS reply through a connection.
|
||||
Sends a DNS reply through a connection.
|
||||
|
||||
The DNS data is stored in an IO buffer pointed by reply structure in `r`.
|
||||
This function mutates the content of that buffer in order to ensure that
|
||||
the DNS header reflects size and flags of the mssage, that might have been
|
||||
updated either with `mg_dns_reply_record` or by direct manipulation of
|
||||
the DNS header reflects the size and flags of the message, that might have
|
||||
been updated either with `mg_dns_reply_record` or by direct manipulation of
|
||||
`r->message`.
|
||||
|
||||
Once sent, the IO buffer will be trimmed unless the reply IO buffer
|
||||
|
||||
Reference in new issue
Block a user