Open LiranCohen opened 7 months ago
How do you know the subscriber will never receive an event or message?
Are the conditions are inconsistent, e.g., end date is earlier than start date? I'd say you should return an error message.
Does the filter specify some non-existent resource? I think you accept the subscription because the resource might be created later.
What other conditions could result in never receiving an event or message?
I don't understand the DDOS remark. Isn't a subscription that returns a lot of stuff a more likely DDoS than one that never returns anything?
DDoS is a big topic that warrants a separate discussion covering all aspect of the spec.
As discussed in the
RecordsSubscribe
PR (https://github.com/TBD54566975/dwn-sdk-js/pull/667)_Originally posted by @thehenrytsai in https://github.com/TBD54566975/dwn-sdk-js/pull/667#discussion_r1463907133_