search for: client_is_icy

Displaying 1 result from an estimated 1 matches for "client_is_icy".

2004 Aug 06
2
icecast 2 compatibility with older clients
...2003 02:10:17 -0000 1.20 +++ src/format.c 2 Jul 2003 23:17:53 -0000 @@ -1,3 +1,4 @@ +/* -*- c-basic-offset: 4; -*- */ /* format.c ** ** format plugin implementation @@ -101,7 +102,11 @@ void format_send_general_headers(format_ http_var_t *var; avl_node *node; int bytes; + char *client_is_icy; + /* if the client uses icy headers, we'll respond in kind */ + client_is_icy = httpp_getvar(client->parser, "icy-metadata"); + /* iterate through source http headers and send to client */ avl_tree_rlock(source->parser->vars); node = avl_get_first(...