summaryrefslogtreecommitdiffstats
path: root/src/engine/HTTPEngineReceiver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/HTTPEngineReceiver.hpp')
-rw-r--r--src/engine/HTTPEngineReceiver.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/HTTPEngineReceiver.hpp b/src/engine/HTTPEngineReceiver.hpp
index 18f0a972..07b730b0 100644
--- a/src/engine/HTTPEngineReceiver.hpp
+++ b/src/engine/HTTPEngineReceiver.hpp
@@ -40,6 +40,10 @@ private:
struct ReceiveThread : public Raul::Thread {
ReceiveThread(HTTPEngineReceiver& receiver) : _receiver(receiver) {}
virtual void _run();
+ virtual void whip() {
+ while (_receiver.unprepared_events())
+ _receiver.whip();
+ }
private:
HTTPEngineReceiver& _receiver;
};