Error while reading..

I'm using the post example posting from memory, and I've wrtieen a
similar case with
non-blocking sockets for get.. It goes fine until I'm to retrieve the
data. Then the socket
goes kaboom and I can't retrieve the hole message. The debug printouts
looks like this:

StreamStack. Source output
Building.... Content-Decoding stack
Building.... Transfer-Decoding stack
Host........ passing 236 bytes as consumed to 0x8050df8
Host........ 321 bytes remaining
Read Socket. Target ERROR -1
Host kill... Pipeline due to HTEvent_CLOSE event
Host kill... Terminating net object 0x8050088 from pipe line
Error....... Add  59    Severity: 1     Parameter: `Unspecified'       
Where: `HTLoadHTTP'
HTTP Clean.. Called with status -902, net 0x8050088
Interrupted!
HTTPGen..... ABORTING...
HTTPRequest. ABORTING...
Buffer...... ABORTING...
FileWriter.. ABORTING...

Can anybody tell me WHY this is happening when the code is identical
with the one in the
post example on the homepage..

Regards Håkan Löfdahl

Received on Tuesday, 2 May 2000 04:17:27 UTC