http: Handle end only when stream is not dumped
authorisaacs <i@izs.me>
Wed, 26 Dec 2012 23:57:49 +0000 (15:57 -0800)
committerisaacs <i@izs.me>
Wed, 26 Dec 2012 23:57:49 +0000 (15:57 -0800)
commitd76eacd4e618d60714f2dd568d45bd6cd96019b6
tree8769f824bc4c4d468ef000c2e0bc435faaa6cef1
parent0db521d0b0d2cd9dc6bc3b1a52ebab0d409030a2
http: Handle end only when stream is not dumped

This fixes regression introduced in some cases by 8bf0c15
lib/http.js