An easy way to try and replicate the problem is to use curl to mimic the sequence of call's you're trying to perform with your library. As you're the first person to find this issue and attachments are in extensive use my guess is that the problem is most likely in your socket code. Granted its not impossible you've stumbled onto a bug.
HTH, Paul Davis On Mon, May 25, 2009 at 2:52 AM, Darrell Huang <[email protected]> wrote: > I directly used socket to send the requests. > The messages I sent were like > > GET /test_db/test_doc/c.jpg HTTP/1.1 > > Do CouchDB users usually send requests with some message wrappers so they > never meet such a problem? > >> >> can you post a Curl script or otherwise so we can attempt to repeat >> your experience? It could be in your HTTP implementation (or it could >> be us). The first step to find out is a repeatable test. >> >> Thanks, >> Chris >> >> -- >> Chris Anderson >> http://jchrisa.net >> http://couch.io >> > >
