search for: send_client_queu

Displaying 6 results from an estimated 6 matches for "send_client_queu".

Did you mean: send_client_queue
2004 Aug 06
2
Second patch again CVS version
I send a patch again the last CVS version. The changes are: - Configurable prebuffer, in seconds. - prebuffering parameter in configurable in <limits>...<prebuffer>seconds</prebuffer>... - Created a new function (send_client_queue) to send the client->queue. Better modularisation. - Moved queue_lenght verification to send_client_queue(). - instead of disconnecting when the client-queue > 25, it discards packages wich are older than prebuffer*2 (maxlag, in seconds). All clients I tried have recovered very well....
2004 Aug 06
2
Icecast2?
Hi all, I am ricardo galli, I've juscribed just a couple of days ago. I wanted to stay as a lurker for a longer period, but this list has almost no traffic, so I wake up due to the silence. The point is, is this list related to icecast2 development? I made some changes to the server and sent a patch to Jack Moffitt, but I'm not sure he's still mainaining the server. If he
2004 Aug 06
2
Re: PATCH: increase network congestion resilience
...ak bug (refbufs not released) and propose a bigger change: move the logic of actually sending the buffers to another function, and also exploit it to do some flow control. It is working in my site since a year without a glitch. It's something like (for old icecast version): <p>+int send_client_queue(client_t *client, int maxlag) +{ + refbuf_t *abuf; + long bytes, sbytes; + time_t now = time(NULL); + + if (client->last_sent < (now - maxlag * 2)) { + client->con->error = 1; /* lame client or DoS */ + return 1; + } + abuf = refbuf_queue_remove(&client-&g...
2004 Aug 06
1
Fwd: Patch to icecast2
...). To allow the control by seconds instead of time, I added a timestamp to refbuf (which could be also used by checking the client queue length by seconds). 3. Solved a bug in source.c, when checking for recoverable error. It has to be done _only_ when result < 0. 4. Created a new function (send_client_queue) to send the client->queue. Better modularisation. 5. When a new client is added, we send the metadata right after adding it to the queue (I use the previous function). This improve a lot startup time inthe client. 6. Moved queue_lenght verification to the send_client_queue(). It doesn'...
2004 Aug 06
3
Icecast2?
...). To allow the control by seconds instead of time, I added a timestamp to refbuf (which could be also used by checking the client queue length by seconds). 3. Solved a bug in source.c, when checking for recoverable error. It has to be done _only_ when result < 0. 4. Created a new function (send_client_queue) to send the client->queue. Better modularisation. 5. When a new client is added, we send the metadata right after adding it to the queue (I use the previous function). This improve a lot startup time inthe client. 6. Moved queue_lenght verification to the send_client_queue(). It doesn'...
2004 Aug 06
0
Second patch again CVS version
...in > <limits>...<prebuffer>seconds</prebuffer>... We're in the process of redoing some of this. We will prebuffer some etc, so in the end this functionality will be there. I apologize that this patch won't get applied for that reason. > - Created a new function (send_client_queue) to send the client->queue. > Better modularisation. This is a good idea, and one I figured would get done. I'll take a look at this closer. > - The server didn't check for the status of the client's socket before the > unblocking send(). This caused a disconnection at...