With a gust the apparant wind veers aft. For that reason you can wind up. However you have to wait for the boat to accelerate. The apparant may turn back and luffing is useless. In heavy wind it may be a bit different as the boat do not accelerate as much as in medium wind.