Anonymous | Login | 2024-10-14 20:31 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0003027 | VCMI | Other | public | 2018-12-04 15:26 | 2018-12-04 15:26 | ||||||||
Reporter | SXX | ||||||||||||
Assigned To | SXX | ||||||||||||
Priority | high | Severity | block | Reproducibility | always | ||||||||
Status | assigned | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 0.99 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0003027: Network fail on FreeBSD due to 2MB socket buffer limit while 4MB is used | ||||||||||||
Description | So I cheated little bit with socket buffer size to be able to sent whole game state over network in one go. I set limit to 4MB which work fine on all Linux, Windows and macOS, but unfortunately FreeBSD have default limit of 2MB buffer on kernel level. [pre] SO_SNDBUF and SO_RCVBUF are options to adjust the normal buffer sizes allocated for output and input buffers, respectively. The buffer size may be increased for high-volume connections, or may be decreased to limit the possible backlog of incoming data. The system places an absolute maximum on these values, which is accessible through the sysctl(3) MIB variable ``kern.ipc.maxsockbuf''. [/pre] So this need to be solved one way or another. For now I can decrease limit to 2MB, but then we really need to improve networking to handle sending large amount of serialized data. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
Issue History | |||
Date Modified | Username | Field | Change |
2018-12-04 15:26 | SXX | New Issue | |
2018-12-04 15:26 | SXX | Status | new => assigned |
2018-12-04 15:26 | SXX | Assigned To | => SXX |
Copyright © 2000 - 2024 MantisBT Team |