w3c / websub

WebSub Spec in Social Web Working Group

Home Page:https://w3c.github.io/websub/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expiration time is still defined as optional in section 1.

kumiponi opened this issue · comments

From the definition of Subscription in section 1:

Subscriptions may (at the hub's decision) have expiration times akin to DHCP leases which must be periodically renewed.

This contradicts the rest of the specification.

hub.lease_seconds
Hubs MUST supply this parameter when hub.mode is set to "subscribe".

Hubs MUST enforce lease expirations, and MUST NOT issue perpetual lease durations.