feelfreelinux / feelfreelinux/kast

Use event loop for data transfer

Open
#20 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Description

HTTPFileServer is not as Qt friendly as we want it to be: it uses a loop that blocks signal processing and makes big files cause a crash on Windows.

**What is *not* a solution:** flush(), waitForBytesWritten(), QCoreApplication::processEvents()
**Solution:** signals and slots, as most of QTcpSockets' functionality is implemented as those.

_See http://doc.qt.io/qt-5/qabstractsocket.html#flush and http://doc.qt.io/qt-5/qabstractsocket.html#waitForBytesWritten for reference._

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.