Before you condemn the master cylinder, adjust the pedal linkage so that when you look in the reservoir, you see a little spurt of brake fluid. That means the relief port is not blocked. If you don't see that spurt, that means the port is blocked and expanding brake fluid (from heat) has nowhere to go.