mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 04:27:12 +03:00
make AirPlay work in AP mode
This commit is contained in:
@@ -436,6 +436,12 @@ static bool handle_rtsp(raop_ctx_t *ctx, int sock)
|
||||
if (strcmp(method, "OPTIONS")) {
|
||||
LOG_INFO("[%p]: received %s", ctx, method);
|
||||
}
|
||||
|
||||
if ((buf = kd_lookup(headers, "Apple-Challenge")) != NULL) {
|
||||
int n;
|
||||
char *buf_pad, *p, *data_b64 = NULL, data[32];
|
||||
|
||||
LOG_INFO("[%p]: challenge %s", ctx, buf);
|
||||
|
||||
// try to re-acquire IP address if we were missing it
|
||||
if (S_ADDR(ctx->host) == INADDR_ANY) {
|
||||
|
||||
Reference in New Issue
Block a user