Displaying 4 results from an estimated 4 matches for "refbuf_release".
2004 Aug 06
2
Re: PATCH: increase network congestion resilience
...ent = now;
+ }
+ if (sbytes < bytes) {
+ if (sbytes < 0 && !sock_recoverable(sock_error())) {
+ printf("SOURCE: Client had unrecoverable error (%d) catching up (%ld/%ld)\n", sock_error(), sbytes, bytes);
+ refbuf_release(abuf);
+ client->con->error = 1;
+ } else {
+ client->pos += sbytes>0?sbytes:0;
+ /* put the refbuf back on top of the queue, since we didn't finish with it */
+ refbuf_queue_insert(&client->...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello,
I work at SmarctJog.com, we have here some patches on IceCast for
performance and reliability, these are mostly client/connection/source
cleanups (a slave merge is underway, and some more good stuff (c)),
but we'd like this to be merged in before the list gets any longer.
Please find attached a list of our patches with a short desc:
This one is actually not from us/me, it was found
2004 Aug 06
2
improved error.log output --diff
.../src/format_vorbis.c 2003-07-18 16:29:23.000000000 -0400
+++ icecast-new/src/format_vorbis.c 2003-08-06 19:18:52.000000000 -0400
@@ -194,7 +194,7 @@
if (state->header > 0 && state->packets < 3) {
if(state->header > MAX_HEADER_PAGES) {
refbuf_release(refbuf);
- ERROR1("Bad vorbis input: header is more than %d pages long", MAX_HEADER_PAGES);
+ ERROR1("Bad vorbis input: header is more than %d pages long, %s", MAX_HEADER_PAGES, "-");
return -1;
}
diff -u --...
2004 Aug 06
5
Missing headers in Icecast2
Hi Karl,
Thanks for your help,
About the "Connection:" header, you are right, it's:
"Connection: close" and NOT "Connection: keep-alive". The protocol when the
SERVER sends the data is http 1.0. It's http 1.1 when the browser requests
the data.
I don't understand the "Content-Length: 54000000" header either. Also I
noticed the flash player on