Displaying 2 results from an estimated 2 matches for "authhead".
Did you mean:
authed
2011 Apr 29
4
You don't check for malloc failure
...er = malloc (len);
+ if (auth_header == NULL) {
+ abort();
+ }
snprintf (auth_header, len,
"Authorization: Basic %s\r\n", esc_authorisation);
free(esc_authorisation);
@@ -610,6 +616,9 @@
len = strlen(username) + strlen(password) + 2;
authheader = malloc(len);
+ if (authheader == NULL) {
+ abort();
+ }
snprintf (authheader, len, "%s:%s", username, password);
data = util_base64_encode(authheader);
sock_write (mastersock,
diff -ru icecast-2.3.2-ORIG/src/source.c icecast-2.3.2/src/source.c
--- icecast-2...
2004 Aug 06
2
Master vs Relay
Michael Smith wrote:
>>But mountpoints must be configured by hand and are static. Is there a
>>way to relay all streams?
>>Number of streams and their names can change from time to time. How to
>>do it?
>>
>>What is the target usage of <master-server> section?
>>
>>
>
>That's what <master-server> is for - it allows you to