(Hopefully) fix an assert failure in httpinput.cpp.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 6 Jun 2013 00:21:46 +0000 (02:21 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 6 Jun 2013 00:21:46 +0000 (02:21 +0200)
commitff78f87ecc83e472f8c649eb0b8503a483e393ff
treeae5111956ed5030a17900d520dd70b3da4947fc4
parent46115862ece2cbd590bc4ae6fe06767869fa7668
(Hopefully) fix an assert failure in httpinput.cpp.

If we get the Metacube sync marker but not the right of the header,
we can set has_metacube_header, and then return. If the connection
drops right there, the flag won't be correctly reset, and if the
next connection starts with something that's not a Metacube block,
we will try to read junk data as Metacube.

Thankfully, the assert caught this case.
httpinput.cpp