aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-09-08 01:06:29 +0000
committerEric Wong <normalperson@yhbt.net>2007-09-08 01:06:29 +0000
commit30ed6bcf22bedc9720382351fdf46218cbf02aae (patch)
treebe608b659b6165dcc2df370226f12de76ddc2038 /src/stats.h
parent251216a552a57e84b53e993e671e62f9539a7610 (diff)
downloadmpd-30ed6bcf22bedc9720382351fdf46218cbf02aae.tar.gz
mpd-30ed6bcf22bedc9720382351fdf46218cbf02aae.tar.xz
mpd-30ed6bcf22bedc9720382351fdf46218cbf02aae.zip
inputStream_http: signal the server to close after all requests
We want the partial content goodies of HTTP/1.1 without requiring persistent connections. Persistent connections across multiple HTTP requests don't really help in the case of MPD, either, because our content is usually big and heavy. Note: this puts MPD at the hands of the server to correctly close() the TCP connection we're using. If we connect to a rogue server that keeps the connection alive even when request not to, we'll spin :( However, encountering such a server is very unlikely... git-svn-id: https://svn.musicpd.org/mpd/trunk@6867 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/stats.h')
0 files changed, 0 insertions, 0 deletions