Virulence is an evolutionary paradox because parasites never benefit from their host's death. The adaptive explanation of virulence is classically based upon the existence of physiological constraints that create a trade-off between parasites' epidemiological traits (virulence, transmissibility, and clearance). Here we develop an epidemiological model where infections are dynamic processes and we demonstrate how these dynamics generate a trade-off between emerging epidemiological parameters. We then study how host's immune strength modifies this trade-off and hence influences virulence evolution. We found that in acute infections, where parasites are engaged in a race with immune cells, immunity restrains more the duration of the infection than its intensity. As a consequence parasites evolve to provoke more virulent but shorter infections in strongly immunized hosts.