with sealing rings arranged between the end surfaces of the pipes or flanges or arranged in recesses in the pipe ends or flanges