URL: <http://gna.org/bugs/?24909>
Summary: Qt client - enable/disable QSocketNotifier Project: Freeciv Submitted by: mir3x Submitted on: Wed 03 Aug 2016 11:40:16 AM CEST Category: client-qt Severity: 3 - Normal Priority: 5 - Normal Status: Ready For Test Assigned to: mir3x Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: 2.5.6, 2.6, 3.0 Contains string changes: No _______________________________________________________ Details: From qt help, about QSocketNotifier under Windows: "To ensure that the socket notifier handles read notifications correctly, follow these steps when you receive a notification: Disable the notifier. Read data from the socket. Re-enable the notifier if you are interested in more data (such as after having written a new command to a remote server). This is an operating system limitation, and not a bug in QSocketNotifier." In patch QSocketNotifer disabled before getting data and enabled later. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 03 Aug 2016 11:40:16 AM CEST Name: qt_sock_notifier_enable_disable.patch Size: 530B By: mir3x <http://gna.org/bugs/download.php?file_id=28120> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?24909> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev