Closed GoogleCodeExporter closed 9 years ago
Okay, this certainly is a bug. Can you please somehow (in a static version?)
make the
data you are fetching available via a public URL, so I can use it for testing?
It looks like those strange numbers are content lengths of individual http
response
packets. Will look into it.
Original comment by ondrej.zara
on 21 Jun 2009 at 9:58
More explanation: this is certainly a "chunked" transfer encoding, something not
(yet) supported by v8cgi. Will be implemented
Original comment by ondrej.zara
on 21 Jun 2009 at 10:27
Please try again with latest SVN revision (492). I believe I fixed this, but
some
testing might be necessary.
Original comment by ondrej.zara
on 22 Jun 2009 at 8:01
hi,
thanks for such a fast reaction. After chaning the http.js file to
.
.
.
var received = "";
do {
var part = s.receive(1024, true);
for (var i=0;i<part.length;i++) {
//received += String.fromCharCode(part[i]);
received += part[i];
}
} while (part.length > 0);
s.close();
received = Util.utf8encode(received);
return this._handleResponse(received, follow);
.
.
.
Everything works fine for me!
Cheers!
Original comment by mkockme...@web.de
on 22 Jun 2009 at 11:49
Uhm, I don't understand why you made that change to http.js. I strongly believe
that
my version (with String.fromCharCode) is supposed to work with current SVN
revision,
as opposed to your fix.
Have you recompiled v8cgi? This is necessary, I made an important addition to
Socket::receive method...
Original comment by ondrej.zara
on 22 Jun 2009 at 12:12
sry for answering this late.
To be honest I have no idea why. But this is the only way it's works for me and
it
works fine. I use it to communicate with CouchDB for and longer time with the
results
I expect.
Original comment by mkockme...@web.de
on 9 Sep 2009 at 3:22
It would be really cool if someone could provide a tutorial about how to use
couchDB
with v8cgi.
Original comment by lrb...@gmail.com
on 4 Nov 2009 at 10:41
Original issue reported on code.google.com by
mkockme...@web.de
on 21 Jun 2009 at 7:15