Re: Missing callback for signal "request-read"



On 12/18/2009 08:57 AM, Egon Andersen wrote:
> Hi,
> 
> I'm fairly new to libsoup, but have made a simple server running.
> One thing I have observed that I do not understand is that I do never
> get the callback for the signal "request-read", even though I get the
> callback for both "request-started" and "request-finished" signals.
> Shouldn't I get the callback for "request-read" in between the callbacks
> for "request-started" and "request-finished" signals?

Hm... it looks like SoupServer never emits that signal. That's a bug.

If you need to know when it's done reading the request, you can connect
to the "got-body" signal on the SoupMessage from the "request-started"
handler.

-- Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]