Car stalling due to gas boiling in the Carb

Was it the metal or rubber fuel line?

I saw a guy once use header wrap to insulate his fuel line. It aint purty but it worked.