joyent/node — pull request #4992 by kanongil (2013-03-12 15:47:08+00:00)
Title: stream: Clear read buffer on unshift(null)

If you add an 'end' to the front of the read queue with unshift(null), logically the buffered data should be discarded, which this patch enables.