Can't upload attachments > 410MB
--------------------------------
Key: COUCHDB-198
URL: https://issues.apache.org/jira/browse/COUCHDB-198
Project: CouchDB
Issue Type: Bug
Components: Database Core
Affects Versions: 0.9
Environment: linux 2.6.26 (debian) or Openbsd 4.4-current
Reporter: Benoit Chesneau
Can't upload attachments > 410MB in a document.
Steps to reproduce :
1) Create empty db "test" with an empty document with id "blah"
2) Create fake file of 410MB :
dd if=/dev/zero of=test.mp3 bs=1024 count=420000
3) upload it with curl :
curl -X PUT --data-binary "@test.mp3" --header "Accept: application/json"
--header "Content-Type: application/mpeg" --header "Transfer-Encoding: chunked"
--header "Expect:" -v http://127.0.0.1:5984/test/blah/test?rev=2559770741
Result :
in curl :
* About to connect() to 127.0.0.1 port 5984 (#0)
* Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 5984 (#0)
> PUT /test/blah/test?rev=2559770741 HTTP/1.1
> User-Agent: curl/7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g
> zlib/1.2.3.3 libidn/1.8 libssh2/0.18
> Host: 127.0.0.1:5984
> Accept: application/json
> Content-Type: application/mpeg
> Transfer-Encoding: chunked
>
* Empty reply from server
* Connection #0 to host 127.0.0.1 left intact
curl: (52) Empty reply from server
* Closing connection #0
Couchdb :
[debug] [<0.61.0>] 'PUT' /test/blah/test?rev=2559770741 {1,1}
Headers: [{'Accept',"application/json"},
{'Content-Type',"application/mpeg"},
{'Host',"127.0.0.1:5984"},
{'Transfer-Encoding',"chunked"},
{'User-Agent',"curl/7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.2
OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8 libssh2/0.18"}]
Then all the machine seem to freeze (core duo amd64 4400+ with 2 Go of ram) and
connection failed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.