Re: How to make libsoup read from an already-open stream?



On 05/29/2012 05:48 PM, Trev wrote:
> At a certain point in my program, I have bytes coming in on a
> GPollableInputStream, and I've read enough of them into memory to
> be able to know that I want to parse the stream as an HTTP response.
> How can I inject the stream (and the bytes already taken from it) into
> libsoup, to have it parsed as a SoupMessageBody?

There's no way to do that (other than what you suggested).

What exactly are you doing? There might be some other way to go about it
that would work...

-- Dan



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