jmimo/netty-icap — Issue #3: problem with RESPMOD
Author: mprzytulski
Created: 2012-03-04 17:07:25+00:00
State: open

When trying to use SquidEchoHandler from examples when sening RESPMOD (tested with c-icap-client from c-icap project) i have error like this:

---------------------------- exception ----------------------------
java.lang.IllegalArgumentException: invalid version format: DATE:
at org.jboss.netty.handler.codec.http.HttpVersion.(HttpVersion.java:108)
at org.jboss.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:68)
at ch.mimo.netty.handler.codec.icap.ReadHttpResponseInitalAndHeadersState.execute(ReadHttpResponseInitalAndHeadersState.java:52)
at ch.mimo.netty.handler.codec.icap.IcapMessageDecoder.decode(IcapMessageDecoder.java:97)
at ch.mimo.netty.handler.codec.icap.IcapMessageDecoder.decode(IcapMessageDecoder.java:37)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:470)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:443)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:349)
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:280)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:200)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
--------------------------------------------------------