Commit 272823f8b0fb3c5f752ea5ff79b9b223b4d1b453

Tomash Brechko 2011-03-23T12:05:33

Reset outgoing connection when read data in idle state. Imagine server side is buggy and miscalculates Content-Length: in the reply. Data arriving in idle state shouldn't make us crash, instead we can just reset the connection.