Induction of a strong serum IgG and splenic cell-mediated response, dominated by pro-inflammatory cytokines IFNγ, TNFα, IL-17, was associated with the protection against infection. Here, TNF is linked to infection.