Hi,

Thanks for your feedback. Will give it a try.

Regards,

Erik

-----Original Message-----
From: curl-library [mailto:curl-library-boun...@cool.haxx.se] On Behalf Of 
Daniel Stenberg
Sent: vrijdag 3 oktober 2014 14:13
To: libcurl development
Subject: RE: rtsp authentication not working

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.html

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

Reply via email to