Generic socket error #1867
-
Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you are sending on a TCP connection, Mongoose will try resize the TCP buffer to hold your data and then send it to the socket interface in your OS. Lines 810 to 813 in d958ec2 |
Beta Was this translation helpful? Give feedback.
If you are sending on a TCP connection, Mongoose will try resize the TCP buffer to hold your data and then send it to the socket interface in your OS.
The http-server example as is serves 4MB in RHEL. I even compiled with MG_ENABLE_EPOLL (which seems to be what you are using) and it worked OK. There is no limit per se.
Please enable debug or verbose messages and track why your OS is rejecting that transfer.
mg_log_set( log level )
mongoose/mongoose.h
Lines 810 to 813 in d958ec2