This was in fact a bug. It's now fixed. Sorry about that.
If anyone cares, it was because the http server is also written in Arc, on top of MzScheme, and we misread the MzScheme doc on make-limited-input-port to believe that limit-k referred to k of bytes. In fact it refers to bytes. So while we thought we were capping http requests at 2 meg, we were in fact capping them at 2k.
If anyone cares, it was because the http server is also written in Arc, on top of MzScheme, and we misread the MzScheme doc on make-limited-input-port to believe that limit-k referred to k of bytes. In fact it refers to bytes. So while we thought we were capping http requests at 2 meg, we were in fact capping them at 2k.