
On May 11, 2007, at 1:14 , Ross Paterson wrote:
On Thu, May 10, 2007 at 10:30:17PM +0100, Duncan Coutts wrote:
I was hoping this might be the same bug that prevents me from uploading cabal-1.1.6.2.tar.gz but it seems not. I still get 400 error during upload after a few 100k.
I suspect it's a server side limit on the upload size. Cabal-1.1.6 is just under 500k and Cabal-1.1.6.2 is just over. Perhaps I should try and reduce the size of the tarball by taking the built docs out (I'm not sure why they're in there, that's just what the current cabal makefile does).
The problem is probably the use of getInputFPS for the uploaded file -- a lazy bytestring version would be handy.
getInputFPS already returns a lazy ByteString, iirc. Besides, even strict bytestrings should work fine with 500k, right? /Björn