• Deomid Ryabkov's avatar
    Do not double-count recved bytes · 1db747da
    Deomid Ryabkov authored
    Mongoose would report consumed bytes twice if mg_call is invoked recursively (e.g. proto_handler uses mg_call to invoke user's handler).
    Reporting twice as much recved as was delivered effectively disables LwIP's TCP throttling and causes buffers to grow too big.
    
    PUBLISHED_FROM=4ad5cd5db4dd54623bd6de2d50d32ddcc9e2b08a
    1db747da
Name
Last commit
Last update
docs Loading commit data...
examples Loading commit data...
jni Loading commit data...
tools Loading commit data...
.mbedignore Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
mongoose.c Loading commit data...
mongoose.h Loading commit data...