Dear Matheinste,
You are right that any-closed path can be broken to pieces. We then can integrate over the pieces. But on every piece of line, we have two bits of information: the light speed in both directions.
When you consider a straight line, you break the line, on every piece you have...