Gozala / Gozala/jetpack-net

Problems with large amount of data and TextReader

Open
#2 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I run into troubles when transmitting large amounts of utf-8 encoded data and reading it via Stream inside net.js.

_onEnd was giving back status code 0x8000FFFF (NS_ERROR_UNEXPECTED) and the connection closed prematurely and randomly before all the data could be read in chunks from inputstream.

I managed to fix this issue by replacing jetpack's TextReader with
Ci.nsIScriptableInputStream and Ci.nsIScriptableUnicodeConverter.

I am using jetpack 1.1 and Firefox 6.0.2.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.