Commit 80561957 authored by Karl Heyes's avatar Karl Heyes

fix a busy CPU case when slow and fast file serving clients are connected at

the same time.  Flag clients on return from select/poll and only process those.
Also fix a rare race which could leave clients in pending

svn path=/icecast/trunk/icecast/; revision=8070
parent 17537d24
This diff is collapsed.
......@@ -15,14 +15,16 @@
#include <stdio.h>
typedef struct
typedef struct _fserve_t
client_t *client;
FILE *file;
int offset;
int datasize;
int ready;
unsigned char *buf;
struct _fserve_t *next;
} fserve_t;
void fserve_initialize(void);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment