From 1287b5f7721fe9f9ba17ffb4cada511905577d70 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 23 Aug 2013 10:38:43 +0200 Subject: [PATCH] client: don't check url in response There is no url or method in the response to check --- gst/rtsp-server/rtsp-client.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index 5de2cb2..67dfe83 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -2002,9 +2002,6 @@ handle_response (GstRTSPClient * client, GstRTSPMessage * response) ctx->session = session; - if (!gst_rtsp_auth_check (GST_RTSP_AUTH_CHECK_URL)) - goto not_authorized; - g_signal_emit (client, gst_rtsp_client_signals[SIGNAL_HANDLE_RESPONSE], 0, ctx); @@ -2025,11 +2022,6 @@ session_not_found: GST_ERROR ("client %p: session not found", client); goto done; } -not_authorized: - { - GST_ERROR ("client %p: not allowed", client); - goto done; - } } static void -- 2.7.4