Displaying 7 results from an estimated 7 matches for "http_parser_t".
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
[patch] time stamps in dump file names
Hi,
this patch enables the use of time stamps in dump file names:
diff -ur icecast-2.0.1/src/source.c icecast-2.0.1.scram/src/source.c
--- icecast-2.0.1/src/source.c Wed May 12 17:55:30 2004
+++ icecast-2.0.1.scram/src/source.c Wed Jun 2 23:17:29 2004
@@ -50,6 +50,16 @@
http_parser_t *parser, const char *mount, format_type_t type,
mount_proxy *mountinfo)
{
+ char buffer[PATH_MAX];
+ time_t curtime;
+ struct tm *loctime;
+
+ /* Get the current time. */
+ curtime = time (NULL);
+
+ /* Convert it to local time representation. */
+ loctime = localtime (&cur...
2004 Aug 06
2
[patch] time stamps in dump file names
Hi,
this patch enables the use of time stamps in dump file names:
diff -ur icecast-2.0.1/src/source.c icecast-2.0.1.scram/src/source.c
--- icecast-2.0.1/src/source.c Wed May 12 17:55:30 2004
+++ icecast-2.0.1.scram/src/source.c Wed Jun 2 23:17:29 2004
@@ -50,6 +50,16 @@
http_parser_t *parser, const char *mount, format_type_t type,
mount_proxy *mountinfo)
{
+ char buffer[PATH_MAX];
+ time_t curtime;
+ struct tm *loctime;
+
+ /* Get the current time. */
+ curtime = time (NULL);
+
+ /* Convert it to local time representation. */
+ loctime = localtime (&cur...
2004 Aug 06
2
icecast 2 auth problem with (old?) ices, MuSe
...parse a little more the string before feeding it
up to _check_pass_icy(), in any case I did the following dirty/fast patch
which works for me(tm):
- --- connection.c Fri Dec 12 23:18:20 2003
+++ connection.c.mod Mon Jan 12 17:50:12 2004
@@ -530,12 +530,16 @@
static int _check_pass_icy(http_parser_t *parser, char *correctpass)
{
char *password;
+ int tlen;
password = httpp_getvar(parser, HTTPP_VAR_ICYPASSWORD);
if(!password)
return 0;
- - if (strcmp(password, correctpass))
+ if (strstr(password, "SOURCE ") == password) password += 7;
+ if (str...
2004 Aug 06
1
[PATCH] IceCast2 - aliasing (reimplementation of the patch I posted earlier)
...void connection_accept_loop(void);
void connection_close(connection_t *con);
-connection_t *create_connection(sock_t sock, char *ip);
+connection_t *create_connection(sock_t sock, sock_t serversock, char *ip);
int connection_create_source(struct _client_tag *client, connection_t *con,
http_parser_t *parser, char *mount);
Only in IceCast/src: connection.o
Only in IceCast/src: event.o
Only in IceCast/src: format.o
Only in IceCast/src: format_mp3.o
Only in IceCast/src: format_vorbis.o
Only in IceCast/src: fserve.o
Only in IceCast/src: geturl.o
Only in IceCast/src: global.o
Only in IceCast/src/...
2004 Aug 06
0
[PATCH] IceCast2 - socket-based default mount
...void connection_accept_loop(void);
void connection_close(connection_t *con);
-connection_t *create_connection(sock_t sock, char *ip);
+connection_t *create_connection(sock_t sock, sock_t serversock, char *ip);
int connection_create_source(struct _client_tag *client, connection_t *con,
http_parser_t *parser, char *mount);
Only in IceCast/src: connection.o
Only in IceCast/src: event.o
Only in IceCast/src: format.o
Only in IceCast/src: format_mp3.o
Only in IceCast/src: format_vorbis.o
Only in IceCast/src: fserve.o
Only in IceCast/src: geturl.o
Only in IceCast/src: global.o
Only in IceCast/src/...
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