Stack overflow on hackage upload

Bjorn Bringert bringert at
Fri May 11 05:05:22 EDT 2007

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- 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- 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?


More information about the cabal-devel mailing list