it's not an overflow pipe it's a prd
(pressure relief device)
to much pressure has built up in the heat can
and activated the device due to a restricted/blocked shower head or the hose is restricted or damaged inside.
hi-spec plumbing & heating (essex)
May 2010