cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: RTSP support for libcurl, preview patch for comments

From: Chris Conroy <Chris.Conroy_at_hillcrestlabs.com>
Date: Mon, 11 Jan 2010 19:14:10 -0500

In cleaning up the RTP code while updating to CVS, I have noticed that
my code is triggering a new assertion that was placed in read_rewind.

Silly me, it seems like read_rewind is only for pipelines and not
generically telling Curl to transfer more data. Though I will say, I
find it a bit deceptively named, and there are calls in transfer.c that
do not guard against rewinding non-pipelined streams.

If I'm reading things correctly, it looks like this means handling any
partial reads of application data (e.g. half of an RTP payload) require
storing the data in a secondary buffer. Is that correct?

--Chris
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-12