nasa / bplib

Apache License 2.0
30 stars 13 forks source link

Payload should maintain lifetime attribute of bundle #28

Closed jpswinski closed 4 years ago

jpswinski commented 4 years ago

The current implementation does not apply a lifetime to a bundle's payload. If the bundle is received while the lifetime has not expired, then the bundle is processed and the payload is queued into the storage service. Once in the storage service, it can remain there indefinitely and it will never expire.

RFC505 explicitly calls out that the lifetime applies to the payload of a bundle (section 4.5.1, page 21). Therefore the lifetime attribute of the bundle must carry over to the payload as well.

jpswinski commented 4 years ago

17d228c27ed93e1f3bf8b93091afa0319e3a6e28