The Washington Capitals and goaltender Logan Thompson agreed to a six-year contract extension worth $35.1 million on Monday.