]> git.wh0rd.org Git - chrome-ext/music-player-client.git/commit
tcp-client: allow caller to force pulling of more data
authorMike Frysinger <vapier@gentoo.org>
Sun, 1 Sep 2013 09:25:32 +0000 (05:25 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 1 Sep 2013 09:25:32 +0000 (05:25 -0400)
commit0a3a435e6ad8fcd1232675e09a07baa73be09497
tree7e12a3e0f5b697437e67c09be66f45bee2972550
parentd4a26e736741a0a75acc6742d075d1cf7a11a44c
tcp-client: allow caller to force pulling of more data

When we get a burst of data that fills up the buffer, we don't want to
delay 500 msecs for the buffer to refill.  So let the caller force a
fresh pull of data when it knows it is expecting more.
js/tcp-client.js
main.js