<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/test/parallel, branch master</title>
<subtitle>github.com: joyent/node.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/'/>
<entry>
<title>http: fix assert on data/end after socket error</title>
<updated>2015-03-28T00:10:23+00:00</updated>
<author>
<name>Fedor Indutny</name>
<email>fedor@indutny.com</email>
</author>
<published>2015-03-09T00:30:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=d6484f3f7b1b90987065736fcc7d52e005293b53'/>
<id>d6484f3f7b1b90987065736fcc7d52e005293b53</id>
<content type='text'>
This change is a backport of 1a3ca8223e08d82051655d7d7e2ea31b439f1bf1
from io.js.

Original commit message:

  Read all pending data out of the socket on `error` event and ensure that
  no `data`/`end` handlers will be invoked on `socket.destroy()`.
  Otherwise following assertion happens:

      AssertionError: null == true
          at TLSSocket.socketOnData (_http_client.js:308:3)
          at TLSSocket.emit (events.js:107:17)
          at TLSSocket.Readable.read (_stream_readable.js:373:10)
          at TLSSocket.socketCloseListener (_http_client.js:229:10)
          at TLSSocket.emit (events.js:129:20)
          at TCP.close (net.js:476:12)

  Fix: https://github.com/joyent/node/issues/9348
  PR-URL: https://github.com/iojs/io.js/pull/1103
  Reviewed-By: Rod Vagg &lt;rod@vagg.org&gt;
  Reviewed-By: Nicu Micleușanu &lt;micnic90@gmail.com&gt;

Fixes #9348.

Reviewed-By: Julien Gilli &lt;julien.gilli@joyent.com&gt;
PR-URL: https://github.com/joyent/node/pull/14087
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change is a backport of 1a3ca8223e08d82051655d7d7e2ea31b439f1bf1
from io.js.

Original commit message:

  Read all pending data out of the socket on `error` event and ensure that
  no `data`/`end` handlers will be invoked on `socket.destroy()`.
  Otherwise following assertion happens:

      AssertionError: null == true
          at TLSSocket.socketOnData (_http_client.js:308:3)
          at TLSSocket.emit (events.js:107:17)
          at TLSSocket.Readable.read (_stream_readable.js:373:10)
          at TLSSocket.socketCloseListener (_http_client.js:229:10)
          at TLSSocket.emit (events.js:129:20)
          at TCP.close (net.js:476:12)

  Fix: https://github.com/joyent/node/issues/9348
  PR-URL: https://github.com/iojs/io.js/pull/1103
  Reviewed-By: Rod Vagg &lt;rod@vagg.org&gt;
  Reviewed-By: Nicu Micleușanu &lt;micnic90@gmail.com&gt;

Fixes #9348.

Reviewed-By: Julien Gilli &lt;julien.gilli@joyent.com&gt;
PR-URL: https://github.com/joyent/node/pull/14087
</pre>
</div>
</content>
</entry>
</feed>
