curl-library
RE: rtsp authentication not working
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 3 Oct 2014 14:13:18 +0200 (CEST)
Date: Fri, 3 Oct 2014 14:13:18 +0200 (CEST)
On Wed, 1 Oct 2014, Erik Janssen wrote:
> Stumbled on section 9.2 in the RFC 2326, which is explicit:
>
> Unlike HTTP, an RTSP message MUST contain a Content-Length header
> whenever that message contains a payload. Otherwise, an RTSP packet
> is terminated with an empty line immediately following the last
> message header.
>
> So, no Content-length header -> don't wait for data
Aah. That's perfect! Then I would like the patch to actually use _that_ fact
as the clue to when there's no body to wait for, as that seems to be the
proper protocol way to do that.
That's contrary to how HTTP 1.1 works when that header is absent.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-10-03