]> granicus.if.org Git - curl/commitdiff
RTSP: GET_PARAMETER requests have a body
authorDaniel Stenberg <daniel@haxx.se>
Sun, 14 Aug 2011 17:07:54 +0000 (19:07 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 14 Aug 2011 17:07:54 +0000 (19:07 +0200)
Bug: http://curl.haxx.se/bug/view.cgi?id=3383692

lib/rtsp.c

index 3ce8ad51e7860a6c322eb8726ea517d35530ada5..198c25dc1364560f7c39191d231b2725c16a630c 100644 (file)
@@ -294,6 +294,7 @@ static CURLcode rtsp_do(struct connectdata *conn, bool *done)
   case RTSPREQ_GET_PARAMETER:
     /* GET_PARAMETER's no_body status is determined later */
     p_request = "GET_PARAMETER";
+    data->set.opt_no_body = FALSE;
     break;
   case RTSPREQ_SET_PARAMETER:
     p_request = "SET_PARAMETER";