mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
close report #842. It's more informative to report the read bytes
svn path=/icecast/trunk/icecast/; revision=11006
This commit is contained in:
parent
8ec568d5b5
commit
c81a42cb3b
@ -199,6 +199,10 @@ void source_clear_source (source_t *source)
|
|||||||
source->parser = NULL;
|
source->parser = NULL;
|
||||||
source->con = NULL;
|
source->con = NULL;
|
||||||
|
|
||||||
|
/* log bytes read in access log */
|
||||||
|
if (source->client && source->format)
|
||||||
|
source->client->con->sent_bytes = source->format->read_bytes;
|
||||||
|
|
||||||
if (source->dumpfile)
|
if (source->dumpfile)
|
||||||
{
|
{
|
||||||
INFO1 ("Closing dumpfile for %s", source->mount);
|
INFO1 ("Closing dumpfile for %s", source->mount);
|
||||||
|
Loading…
Reference in New Issue
Block a user