problems using HTLoadToChunk()

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).

An earlier version of this program was able to use HTLoadToFile() last 
Friday, so that I know that some things work.  If I turn on the libwww 
trace in the main() program of my example, the request seems to go
OK.  The same seems to be indicated by the web server log.

The current version is patterned on the mget.c example 
        http://www.w3.org/Library/Examples/mget.c

All hints and tips appreciated!

Thanx!


- Steinar

Received on Tuesday, 17 August 1999 10:14:26 UTC