- From: Steinar Bang <sb@metis.no>
- Date: 17 Aug 1999 17:11:19 +0200
- To: www-lib@w3.org
>>>>> Steinar Bang <sb@metis.no>:
> Platform: SuSE linux 5.3, egcs 1.1.2-pre2, qt-2.x (CVS checkout),
> libwww from CVS, gdb 4.17
> I have problems using HTLoadToChunk() in a small test program using
> libwww from a Qt GUI
> http://www.metis.no/private/sb/misc/qtlibwww.tar.gz
> When the request is sent to the filter function registered with
> HTNet_addAfter(), the data member of the HTChunk is 0x0. I've also
> found that breakpoints in the HTSC_putBlock() function don't seem to
> be reached (though that may be a problem of the debugger).
Problem found and fixed.
It was caused by a missing
HTRequest_setOutputFormat(request,WWW_SOURCE);
call, which presumably caused the text/html source to end up in a
different place than the HTChunkStream HTLoadToChunk created.
Received on Tuesday, 17 August 1999 11:11:22 UTC