mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
Fix a corner case in receiving UDP data
CL: none PUBLISHED_FROM=9c13882517374644c6d799976f1048f04ae446d7
This commit is contained in:
parent
f084ad8008
commit
228984a3fc
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user