incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronny Coolen <ronny.coo...@cognosis.be>
Subject can't upload attachments > 1MB
Date Mon, 12 Oct 2009 09:07:29 GMT
I seem to have problems with uploading attachments that are bigger than 1MB.
Under 1MB, it works perfectly.

I am using PHP sockets to connect to the couchdb server.

First, I create a document (which returns success), and then I add an
attachment (which fails).

This is the debug output from couchdb:

[Mon, 12 Oct 2009 08:52:00 GMT] [debug] [<0.324.0>] 'POST' /cognosisnv/
{1,1}
Headers: [{'Content-Length',"82"},
          {'Content-Type',"application/json"},
          {'Date',"Mon, 12 Oct 09 10:52:31 +0200"}]

[Mon, 12 Oct 2009 08:52:00 GMT] [debug] [<0.324.0>] OAuth Params: []

[Mon, 12 Oct 2009 08:52:00 GMT] [info] [<0.324.0>] 10.60.0.12 - - 'POST'
/cognosisnv/ 201

[Mon, 12 Oct 2009 08:52:00 GMT] [debug] [<0.324.0>] 'PUT'
/cognosisnv/837966fffb20b93a571c5871665bf5cb {1,1}
Headers: [{'Content-Length',"1386854"},
          {'Content-Type',"application/json"},
          {'Date',"Mon, 12 Oct 09 10:52:31 +0200"}]

[Mon, 12 Oct 2009 08:52:00 GMT] [debug] [<0.324.0>] OAuth Params: []


Mime
View raw message