quicwg / load-balancers

In-progress version of draft-ietf-quic-load-balancers

Home Page:https://quicwg.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do you really need the notation extension?

martinthomson opened this issue · comments

x(A..B) y(C..B-len(x)) indicates that x can be of any length between A and B, and y can be of any length between C and B provided that (len(x) + len(y)) does not exceed B.

This might be achieved as follows:

Outer {
  Inner (α..B),  <-- α = A + C
}
Inner {
  x(A..B),
  y(C..B),
}

I'll should also point out that α there is optional and you can also do:

Outer {
  Inner (..β),
}
Inner {
  x(A..B),
  y(C..D),
}

For any value of β, though presumably β is at least max(B, D), it could reasonably be any value up to B+D.

closed by #207