Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs/reuse xhr #61

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open

Bugs/reuse xhr #61

wants to merge 12 commits into from

Conversation

hthetiot
Copy link
Contributor

No description provided.

@dpwspoon
Copy link
Contributor

dpwspoon commented Oct 2, 2017

LGTM

@hthetiot hthetiot added do not merge and removed wip labels Dec 8, 2017
@hthetiot hthetiot added this to the 0.2.x milestone Dec 16, 2017
@hthetiot hthetiot added the wip label May 29, 2018
@hthetiot
Copy link
Contributor Author

Uncaught Error: Unable to update readyState 0 vs 2
      at XMLHttpRequest.<anonymous> (lib/xhr.js:217:23)
      at OutgoingRequest.<anonymous> (lib/xhr.js:360:26)
      at IncomingResponse._onHeaders (node_modules/http2.js/lib/http.js:1347:8)
      at Stream._onHeaders (node_modules/http2.js/lib/protocol/stream.js:119:8)
      at Stream._writeUpstream (node_modules/http2.js/lib/protocol/stream.js:255:10)
      at Connection._receive (node_modules/http2.js/lib/protocol/connection.js:428:19)
      at Connection._write (node_modules/http2.js/lib/protocol/flow.js:103:10)
      at doWrite (_stream_writable.js:397:12)
      at writeOrBuffer (_stream_writable.js:383:5)
      at Connection.Writable.write (_stream_writable.js:290:11)
      at Decompressor.ondata (_stream_readable.js:639:20)
      at addChunk (_stream_readable.js:263:12)
      at readableAddChunk (_stream_readable.js:250:11)
      at Decompressor.Readable.push (_stream_readable.js:208:10)
      at Decompressor.Transform.push (_stream_transform.js:147:32)
      at Decompressor._transform (node_modules/http2.js/lib/protocol/compressor.js:1327:10)
      at Decompressor.Transform._read (_stream_transform.js:186:10)
      at Decompressor.Transform._write (_stream_transform.js:174:12)
      at doWrite (_stream_writable.js:397:12)
      at writeOrBuffer (_stream_writable.js:383:5)
      at Decompressor.Writable.write (_stream_writable.js:290:11)
      at Deserializer.ondata (_stream_readable.js:639:20)
      at addChunk (_stream_readable.js:263:12)
      at readableAddChunk (_stream_readable.js:250:11)
      at Deserializer.Readable.push (_stream_readable.js:208:10)
      at Deserializer.Transform.push (_stream_transform.js:147:32)
      at Deserializer._transform (node_modules/http2.js/lib/protocol/framer.js:136:16)
      at Deserializer.Transform._read (_stream_transform.js:186:10)
      at Deserializer.Transform._write (_stream_transform.js:174:12)
      at doWrite (_stream_writable.js:397:12)
      at writeOrBuffer (_stream_writable.js:383:5)
      at Deserializer.Writable.write (_stream_writable.js:290:11)
      at Endpoint._write (node_modules/http2.js/lib/protocol/endpoint.js:215:22)
      at doWrite (_stream_writable.js:397:12)
      at writeOrBuffer (_stream_writable.js:383:5)
      at Endpoint.Writable.write (_stream_writable.js:290:11)
      at Duplexify.ondata (node_modules/websocket-stream/node_modules/duplexify/node_modules/readable-stream/lib/_stream_readable.js:619:20)
      at addChunk (node_modules/websocket-stream/node_modules/duplexify/node_modules/readable-stream/lib/_stream_readable.js:291:12)
      at readableAddChunk (node_modules/websocket-stream/node_modules/duplexify/node_modules/readable-stream/lib/_stream_readable.js:278:11)
      at Duplexify.Readable.push (node_modules/websocket-stream/node_modules/duplexify/node_modules/readable-stream/lib/_stream_readable.js:245:10)
      at Duplexify._forward (node_modules/websocket-stream/node_modules/duplexify/index.js:170:26)
      at DestroyableTransform.onreadable (node_modules/websocket-stream/node_modules/duplexify/index.js:134:10)
      at emitReadable_ (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:504:10)
      at emitReadable (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:498:62)
      at addChunk (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:298:29)
      at readableAddChunk (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:278:11)
      at DestroyableTransform.Readable.push (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:245:10)
      at DestroyableTransform.Transform.push (node_modules/websocket-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:148:32)
      at WebSocket.onmessage (node_modules/websocket-stream/stream.js:119:11)
      at WebSocket.onMessage (node_modules/websocket-stream/node_modules/ws/lib/WebSocket.js:442:14)
      at Receiver.onbinary (node_modules/websocket-stream/node_modules/ws/lib/WebSocket.js:848:10)
      at node_modules/websocket-stream/node_modules/ws/lib/Receiver.js:628:18
      at node_modules/websocket-stream/node_modules/ws/lib/Receiver.js:368:7
      at node_modules/websocket-stream/node_modules/ws/lib/PerMessageDeflate.js:249:5
      at afterWrite (_stream_writable.js:464:3)
      at onwrite (_stream_writable.js:455:7)
      at InflateRaw.afterTransform (_stream_transform.js:90:3)
      at Zlib.callback (zlib.js:515:5)

Node does not like to reuse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants