Hello Michael,

2008/11/20 Michael Sørensen Loft <[EMAIL PROTECTED]>:
<snip: changing how resources are streamed>
> Sounds good. Can you say anything about when you plan to implement it?
>
> I'm considering workarounds, e.g. adding another http server which can stream 
> incrementally, but I will not spend much time on that, if you plan to 
> implement streaming using multiple chunks soon.
>

If you're blocked by this, you will be better of implementing your
work-around. We need some time to investigate how we can best
implement this.
On the other hand, I quickly checked why FIFO's don't work; you can
use this fix if that helps you:

--- a/src/http/StaticReply.C
+++ b/src/http/StaticReply.C
@@ -73,7 +73,10 @@ StaticReply::StaticReply(const std::string &full_path,
   if (!stockReply) {
     try {
       fileSize_ = boost::filesystem::file_size(path_);
-
+    } catch (...) {
+      fileSize_ = -1;
+    }
+    try {
       /*
        * Add a Last-Modified header
        */

You can add these four lines yourself. This will also be available in CVS soon.

Regards,
Wim.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to