W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

Re: Error while reading..

From: Kinuko Yasuda <kinuko@tom.sfc.keio.ac.jp>
Date: Tue, 02 May 2000 19:05:42 +0900
To: hal@melody.se
Cc: www-lib@w3.org
Message-Id: <20000502190542K.kinuko@tom.sfc.keio.ac.jp>


In message Error while reading..
      Hkan Lfdahl <hal@melody.se> wrote:

> 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

I have had the similar problem before.

If I remember rightly, 
this error will occur when the library is going to save/write retrieved
data into a file (or something) which has not been opened yet or closed

I recommend you to check not only the input side (a network socket), 
but also the output side (a file or something).

Thank you.
Received on Tuesday, 2 May 2000 06:05:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC