General David Petraeus, the head of US Central Command, told Congress he was encouraged about progress in the Afghan war.