gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11775: adjust the timeout between p


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11775: adjust the timeout between packets
Date: Tue, 19 Jan 2010 16:57:51 -0700
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11775
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Tue 2010-01-19 16:57:51 -0700
message:
  adjust the timeout between packets
modified:
  cygnal/cygnal.cpp
  cygnal/http_server.cpp
=== modified file 'cygnal/cygnal.cpp'
--- a/cygnal/cygnal.cpp 2010-01-19 23:35:43 +0000
+++ b/cygnal/cygnal.cpp 2010-01-19 23:57:51 +0000
@@ -1144,7 +1144,7 @@
        // Wait for something from one of the file descriptors. This timeout
        // is the time between sending packets to the client when there is
        // no client input, which effects the streaming speed of big files.
-       net.setTimeout(10);
+       net.setTimeout(15);
        hits = net.waitForNetData(hand->getClients());
        if (FD_ISSET(0, &hits)) {
            FD_CLR(0, &hits);

=== modified file 'cygnal/http_server.cpp'
--- a/cygnal/http_server.cpp    2010-01-11 06:41:38 +0000
+++ b/cygnal/http_server.cpp    2010-01-19 23:57:51 +0000
@@ -1034,6 +1034,7 @@
            hand->setDiskStream(netfd, _diskstream);
            cache.addFile(_filespec, _diskstream);
 // Send the first chunk of the file to the client.
+           // log_network("Sending first chunk of %s", _filespec);
            _diskstream->play(netfd, false);
        }
     }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]