mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-18 10:59:45 +00:00
Fix a corner case in receiving UDP data
CL: none PUBLISHED_FROM=9c13882517374644c6d799976f1048f04ae446d7
This commit is contained in:
1 parent
f084ad8008
commit
228984a3fc
1 file changed
-1
@@ -2834,7 +2834,6 @@ void mg_if_recv_udp_cb(struct mg_connection *nc, void *buf, int len,
|
||||
} else {
|
||||
/* Drop on the floor. */
|
||||
MG_FREE(buf);
|
||||
nc->iface->vtable->recved(nc, len);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user