Call recved when data is consumed from recv_mbuf

PUBLISHED_FROM=5fb212ed3114c57182781d441b6886cf83100a76
This commit is contained in:
Deomid Ryabkov authored and rojer committed 2016-02-25 12:53:01 +00:00
1 parent de24bfdf2f
commit aa2ff674db
2 files changed
+14 -15

No files matched your search

-1
View File
@@ -1469,7 +1469,6 @@ void mg_if_sent_cb(struct mg_connection *nc, int num_sent);
* Receive callback.
* buf must be heap-allocated and ownership is transferred to the core.
* Core will acknowledge consumption by calling mg_if_recved.
* No more than one chunk of data can be unacknowledged at any time.
*/
void mg_if_recv_tcp_cb(struct mg_connection *nc, void *buf, int len);
void mg_if_recv_udp_cb(struct mg_connection *nc, void *buf, int len,