On Wed, 28 Feb 2001, Mark J. Roberts wrote:

> On 28 Feb 2001, Steven Hazel wrote:
> 
> > When trying to insert a 115557 byte file (pir8z.gif), InsertClient
> > gives me this:
> 
> I can't reproduce this with the pir8z.gif from thalassocracy.org,
> although that file looks to be (du -bs) 116736 bytes. (Latest CVS here.)
> 
> What Java are you using? "java -version" "javac -version"??? An
> IOException on flushing a BufferedOutputStream is a very weird bug.
> 

I tried the pir8z locally and it worked, but when I tried the addresses on
inform.php, nearly all of them failed in a simular fashion -- inserts with
htl 1 worked, but requests were all truncated below 64K and small inserts
work.  None of them are running telnet or ftp servers, so I bet they are
win boxen.

The handshake returns version=1.299 build=161 revision=1.66.2.2 or
1.66.2.1 on the ones I checked, they are dated 2001/02/22 & 2001/02/03
according to cvs log.  I'm running 1.67, which is latest, I believe.

Here's an example of a 96K file I've been using:

Transfer of one segment to a temporary file completed.
4124 bytes read.
8220 bytes read.
12316 bytes read.
16412 bytes read.
20508 bytes read.
22881 bytes read.
27881 bytes read.
32860 bytes read.
37860 bytes read.
42860 bytes read.
47860 bytes read.
52839 bytes read.
57839 bytes read.
61379 bytes read.
java.io.EOFException: Unexpected end of stream
        at java.lang.Throwable.<init>(Throwable.java:96)
        at java.lang.Exception.<init>(Exception.java:44)
        at java.io.IOException.<init>(IOException.java:49)
        at java.io.EOFException.<init>(EOFException.java:57)
        at
Freenet.crypt.ProgressiveHashInputStream.priv_read(ProgressiveHashInputStream.java:223)
        at
Freenet.crypt.ProgressiveHashInputStream.read(ProgressiveHashInputStream.java:175)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:192)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:231)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:286)
        at Freenet.crypt.CipherInputStream.read(CipherInputStream.java:59)
        at java.io.FilterInputStream.read(FilterInputStream.java:120)
        at Freenet.client.EventInputStream.read(EventInputStream.java:51)
        at
Freenet.client.Client$BRequestInstance.readData(Client.java:387)
        at
Freenet.client.Client$BRequestInstance.beginTransfer(Client.java:368)
        at
Freenet.client.Client$BRequestInstance.getResponse(Client.java:313)
        at Freenet.client.Client$BRequestInstance.doit(Client.java:271)
        at Freenet.client.Client$BInstance.prepare(Client.java:217)
        at Freenet.client.Client$BRequestInstance.prepare(Client.java:263)
        at Freenet.client.Client$BInstance.run(Client.java:230)
        at java.lang.Thread.run(Thread.java:498)
A fatal exception occured while
processing: java.io.EOFException: Unexpected end of stream
State "FAILED" reached.
Encountered the following exceptions while attempting to Request:
java.io.EOFException: Unexpected end of stream
        at java.lang.Throwable.<init>(Throwable.java:96)
        at java.lang.Exception.<init>(Exception.java:44)
        at java.io.IOException.<init>(IOException.java:49)
        at java.io.EOFException.<init>(EOFException.java:57)
        at
Freenet.crypt.ProgressiveHashInputStream.priv_read(ProgressiveHashInputStream.java:223)
        at
Freenet.crypt.ProgressiveHashInputStream.read(ProgressiveHashInputStream.java:175)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:192)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:231)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:286)
        at Freenet.crypt.CipherInputStream.read(CipherInputStream.java:59)
        at java.io.FilterInputStream.read(FilterInputStream.java:120)
        at Freenet.client.EventInputStream.read(EventInputStream.java:51)
        at
Freenet.client.Client$BRequestInstance.readData(Client.java:387)
        at
Freenet.client.Client$BRequestInstance.beginTransfer(Client.java:368)
        at
Freenet.client.Client$BRequestInstance.getResponse(Client.java:313)
        at Freenet.client.Client$BRequestInstance.doit(Client.java:271)
        at Freenet.client.Client$BInstance.prepare(Client.java:217)
        at Freenet.client.Client$BRequestInstance.prepare(Client.java:263)
        at Freenet.client.Client$BInstance.run(Client.java:230)
        at java.lang.Thread.run(Thread.java:498)




_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://www.uprizer.com/mailman/listinfo/devl

Reply via email to