View Single Post
  #1 (permalink)  
Old October 19th, 2003
rockkeys rockkeys is offline
Devotee
 
Join Date: September 30th, 2003
Posts: 27
rockkeys is flying high
Default Many compression errors reported by java

Hi, Folks.

When I go to the gnutella net page, I see a lot of 'Unexpected end of ZLIB input stream' messages go past. I also get a series of errors in the phex.log file that are related to this. The java stack dump looks like this:

3:05:12 PM.0643: Global(Severe)! Exception occured: java.util.zip.DataFormatException: unknown compression method
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Inflater.java:219)
at java.util.zip.Inflater.inflate(Inflater.java:236)
at phex.utils.IOUtil.inflate(Unknown Source)
at phex.utils.IOUtil.inflate(Unknown Source)
at phex.msg.GGEPBlock$GGEPParser.parseGGEPBlock(Unkno wn Source)
at phex.msg.GGEPBlock$GGEPParser.parseGGEPBlocks(Unkn own Source)
at phex.msg.GGEPBlock.parseGGEPBlocks(Unknown Source)
at phex.msg.MsgQueryResponse.parseBody(Unknown Source)
at phex.msg.MsgQueryResponse.getMsgRecord(Unknown Source)
at phex.msg.MsgManager.snoopMonitorResult(Unknown Source)
at phex.msg.MsgManager.processQueryResponse(Unknown Source)
at phex.connection.ConnectionEngine.handleQueryRespon se(Unknown Source)
at phex.connection.ConnectionEngine.processIncomingDa ta(Unknown Source)
at phex.connection.OutgoingConnectionDispatcher.conne ctToNextCaughtHost(Unknown Source)
at phex.connection.OutgoingConnectionDispatcher.run(U nknown Source)
at phex.common.ThreadPool$Worker.run(Unknown Source)

It appears as if we are not supporting or are not correctly handling compressed connections, which have become very common in some of the gnutella clients. I know that gtk-gnutella supports this now, and certainly some others do too.

Could we put this on the list of requested enhancements, please? I would like to connect to these hosts who are using compression, and the default for gtk-gnutella (for example) is to only allow a single uncompressed connection, once compressed connections are enabled. Since I have no control over the other user's choices, and no way to request that they disable compression, or increase the number of uncompressed connections that they allow, the only way to solve this is to provide complete support for this newer feature.

Thanks,
--Rockkeys
Reply With Quote