Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Alt-Svc-Used indicator granularity #34
The current Alt-Svc-Used indicator is a boolean ("0"/"1"), due to the desire to preserve privacy.
An option short of including (proto,host,port) in Alt-Svc-Used would be to include a better indicator of how the Alt-Svc was used. This could be either a bitmask or a string of tokens. For example, with a bitmask:
With a token approach, short character strings could replace the bitmask.
For load-balancing, this would make it possible to infer the (proto,host,port) that may have been used in cases where it differs by use-case but is consistent within a use-case.
This would also significantly help with debuggability on the server side.
Regardless of how this is resolved, there is still text referring to previous Alt-Svc-Used indicator proposals that should be cleaned up to be consistent with whatever we decide on. For example, with the current text the following is confusing and should be removed:
(as the protocol, host, and port aren't part of what is being sent in the current indication).
The same applies of the "Tracking Clients Using Alternative Services" section which may be a remnant from previous versions.
The current text also mentions a "token" in the Alt-Svc-Used definition, but does not explain it or specify how it might be used or set.
I'm going to remove the text from the Alt-Used definition that is out of date.
I don't see any occurrence of "token" that shouldn't be there.
WRT "Tracking Clients Using Alternative Services" - can we get rid of that consideration altogether now that we only have 0 and 1?