projects
/
platform
/
upstream
/
gst-rtsp-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74b8da9
)
client: Reply 400 if media cannot be constructed
author
Jonas Holmberg
<jonashg@axis.com>
Thu, 26 Sep 2013 09:20:05 +0000
(11:20 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 26 Sep 2013 12:32:43 +0000
(14:32 +0200)
Reply 400 Bad Request instead of 503 Service Unavailable if media
cannot be constructed in SETUP.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708821
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index
f351f24
..
f4add92
100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-576,7
+576,7
@@
not_authorized:
no_media:
{
GST_ERROR ("client %p: can't create media", client);
- send_generic_response (client, GST_RTSP_STS_
SERVICE_UNAVAILABLE
, ctx);
+ send_generic_response (client, GST_RTSP_STS_
BAD_REQUEST
, ctx);
g_object_unref (factory);
ctx->factory = NULL;
return NULL;