[vlc-devel] [RFC] http post

Pierre Ynard linkfanel at yahoo.fr
Sun Apr 3 01:51:39 CEST 2011


> On Sun, Mar 27, 2011 at 04:11:25PM +0300, Rémi Denis-Courmont wrote :
> > Le dimanche 27 mars 2011 15:31:30 Jean-Baptiste Kempf, vous avez écrit :
> > > Well, is it doable without making libcurl in?
> > 
> > Is it doable _with_ libcurl? Won't that freeze VLC like live555 does?
> 
> It seems to work with audioscrobbler and last.fm radio modules.

I think that what Rémi means is, at least last time I checked, it is
impossible to cancel a libcurl request. So short of setting very low
timeout values, if the connection freezes, your libcurl thread will
freeze too. Also, libcurl keeps polling and waking up every second, and
that's not courmisch compliant.

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."



More information about the vlc-devel mailing list