How do you deal with lengthy server tasks?
- From: "Biz.122" <biz 122 protonmail com>
- To: "libsoup-list gnome org" <libsoup-list gnome org>
- Subject: How do you deal with lengthy server tasks?
- Date: Sun, 03 Feb 2019 18:26:55 +0000
Hey,
I would like to stream some audio with soup server. How would you go about something like that? Each browser request will launch the server callback that does all processing, but I cannot stay in there looping and sending data. This will block any other requests.
Look at the "SlowData / soup_add_timeout" example.
Is this how you would typically perform streaming tasks or large file transfers, and not completely locking up your server callback?
Best Regards,
Biz
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]