MG_IO_SIZE #2736
-
Hi, The problem faced. On the documentation I see the meaning of the parameter: To me seems that if you have to receive a greater message the mongoose provide to enlarge automatically the buffer. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Mongoose resizes its buffer in MG_IO_SIZE-size chunks up to MG_MAX_RECV_SIZE. Lines 7386 to 7397 in 497df68 It is very hard for me to guess what is going on with such a description. What exactly happens ? Please sniff your network (using Wireshark, for example) and observe the traffic. Please see the logs. What fails ? When ? Where ? If, after your network inspection, you find an actual issue, feel free to open an issue, fill the issue template, and provide us with pertinent information (including useful network captures) in order to reproduce and fix the issue. We don't inspect your code for errors, please send the minimum piece of code that can reproduce the issue |
Beta Was this translation helpful? Give feedback.
Mongoose resizes its buffer in MG_IO_SIZE-size chunks up to MG_MAX_RECV_SIZE.
mongoose/mongoose.c
Lines 7386 to 7397 in 497df68
It is very hard for me to guess what is going on with such a description. What exactly happens ?
Please sniff your network (using Wireshark, for example) and observe the traffic.
Please see the logs.
What…