On Thu, 16 Jun 2011, Jim Hollinger wrote:

You are correct, this mod did not come from a specification, but from operational experience. When negotiating an RTSP connection to several video servers and ip cameras, I found the curl_easy_perform() call will not return from the DESCRIBE request until it times-out if authentication fails.

This is because the curl function expects the sdp content to be returned as the body of the response, but this content is not transmitted by the server if the client authentication fails.

Wow. That sounds terribly broken. Have you checked what (other) RTSP clients do for these cases?

Can you show us the full set of headers such a typical RTSP server responds with if the auth fails? Are you saying that it reports that there's a content-length etc but it doesn't actually send that data?

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to