1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-08 04:04:48 -04:00

Set another parameter in the icy protocol parse that logging expects

svn path=/trunk/httpp/; revision=4446
This commit is contained in:
Michael Smith 2003-03-08 05:27:17 +00:00
parent e921a67bd1
commit 8c750aaee4

View File

@ -296,6 +296,7 @@ int httpp_parse_icy(http_parser_t *parser, char *http_data, unsigned long len)
httpp_setvar(parser, HTTPP_VAR_URI, "/");
httpp_setvar(parser, HTTPP_VAR_ICYPASSWORD, line[0]);
httpp_setvar(parser, HTTPP_VAR_PROTOCOL, "ICY");
httpp_setvar(parser, HTTPP_VAR_REQ_TYPE, "SOURCE");
/* This protocol is evil */
httpp_setvar(parser, HTTPP_VAR_VERSION, "666");