couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2203) Hang when uploading a JSON document
Date Mon, 17 Mar 2014 14:57:46 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937881#comment-13937881
] 

Robert Newson commented on COUCHDB-2203:
----------------------------------------

This worked for me first time, with default settings. (304c144, OS X 10.9.2)

curl -XPUT localhost:5984/db1/foo -d @body.debug
{"ok":true,"id":"foo","rev":"1-db15615f41065c61ef2c947a3e6816bb"}

I'll note that -T body.debug is better, as -d is not 8-bit safe.

> Hang when uploading a JSON document
> -----------------------------------
>
>                 Key: COUCHDB-2203
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2203
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>    Affects Versions: 1.5.0
>            Reporter: Kirill Pertsev
>         Attachments: body.debug
>
>
> CouchDB 1.5.0 MacOS/X build from the website. OS/X is 10.9.2
> I'm building a couchapp using node.couchapp.js. The size of the couchapp is about 4MB,
and I can not upload it to the Couch. I've dumped the JSON itself and tried to PUT it with
CURL, without any luck either.
> JSON is attached.
> Upload with
> curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H "Content-Type:
application/json" -d @body.debug



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message