Fix resume http buffer