Re: libsoup-2.4 branch merged to trunk
- From: Wouter Cloetens <wouter mind be>
- To: libsoup-list gnome org
- Subject: Re: libsoup-2.4 branch merged to trunk
- Date: Sat, 19 Jan 2008 02:59:29 +0100
On Tue, Jan 15, 2008 at 12:50:37PM -0500, Dan Winship wrote:
> I've just merged the libsoup-2.4 branch to svn trunk. This is a big API
> break that fixes a ton of problems with libsoup. Coming soon: new
> features! Language bindings!
>From your porting guide:
"msg->status (the I/O status) is now gone as well, because (a) it's
really an internal state of SoupSession, and (b) it's too easy to
confuse with msg->status_code (the HTTP status) anyway. Code that
used to check if status was SOUP_MESSAGE_STATUS_FINISHED needs to be
rewritten to track whether or not the finished signal has been
emitted."
Ow, crap.
My async client actually uses practically every different state to track
what it needs to do next. I guess I can rewrite it to keep track of the
status myself, but I see one problem. I call soup_message_io_unpause()
in CONNECTING or RUNNING state, but not in QUEUED. I probably made that
distinction because of a bad experience. Can I safely call
soup_session_unpause_message() in QUEUED in 2.4?
If you want to see the code:
http://webcvs.freedesktop.org/gstreamer/gst-plugins-bad/ext/soup/gstsouphttpsrc.c?revision=1.6&view=markup
... and search for SOUP_MESSAGE_STATUS in gst_souphttp_src_create().
bfn, Wouter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]