James Turner
-
2020-08-18
- labels: --> Phi
flightgear-2020.1.3+dfsg on Debian Linux
An invalid HTTP request makes fgfs hang. In a previous version (2018.3.2+dfsg-1), I got a segfault. When trying to recheck now, it just hangs which isn't much better. E.g.:
wget -O- 127.0.0.1:5000/json/foo=bar
After that, no other HTTP request is accepted. An strace on the main threads shows that it ceases most activity and blocks polling on an eventfd.
(I leave it at low priority because it's easy to avoid by not making invalid requests, but it's a bug nevertheless.)