carllerche/momentum — Issue #7: Invalid chunk size in the HTTP parser
Author: michaelklishin
Created: 2012-02-03 01:48:20+00:00
State: open

Again, using `momentum.examples` HTTP proxy, navigating to [this URL](http://clck.yandex.ru/redir/dtype=stred/pid=0/cid=2219/path=news.tabs.market/rnd=1328233503071/*data=url%3Dhttp%253A%252F%252Fmarket.yandex.ru%252F%253Fclid%253D527%2526cvredirect%253D1) reliably results in

```
1203086 [New I/O client worker #2-6] INFO com.novemberain.momentum.examples.server.http-proxy - Abort event (clck.yandex.ru), val is momentum.http.HttpParserException: Invalid chunk size
momentum.http.HttpParserException: Invalid chunk size
at momentum.http.HttpParser.execute(HttpParser.java:3763)
at momentum.http.parser$response$fn__1171.invoke(parser.clj:79)
at momentum.http.core$response_parser$fn__1214.invoke(core.clj:162)
at momentum.net.pool$mk_handler$fn__1841$fn__1844.invoke(pool.clj:336)
at momentum.net.core$send_upstream.invoke(core.clj:234)
at momentum.net.core$handler$fn__1460$fn__1463.invoke(core.clj:305)
at momentum.net.core$mk_upstream_handler$reify__1486.handleUpstream(core.clj:354)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
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:351)
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:282)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:202)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44)
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)
```