Ensure that user sees all the data before connection is closed
If user throttles receive by setting recv_mbuf_limit, after the net interface reports connection as closed we must wait for data to trickle through before disposing of it. There can still b data in the buffers (e.g. SSL). CL: mg: Ensure that user sees all the data before connection is closed PUBLISHED_FROM=22be0fa368950a9fdb03cfb00febc7c0a1674b01
Showing
- docs/c-api/mg_net.h/struct_mg_connection.md 1 addition, 0 deletionsdocs/c-api/mg_net.h/struct_mg_connection.md
- mongoose.c 22 additions, 4 deletionsmongoose.c
- mongoose.h 1 addition, 0 deletionsmongoose.h
- src/common/platforms/lwip/mg_lwip_ev_mgr.c 0 additions, 1 deletionsrc/common/platforms/lwip/mg_lwip_ev_mgr.c
- src/mg_net.c 22 additions, 3 deletionssrc/mg_net.c
- src/mg_net.h 1 addition, 0 deletionssrc/mg_net.h
Loading
Please register or sign in to comment