56f4dd5359
If a disconnection occurs, the sent_headers would still be set to true, and when a reconnect occurs, it would not send the headers again.