You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2021/12/20 16:34:34 UTC

[GitHub] [qpid-proton] ktdreyer commented on pull request #348: Document ttl=0 behavior

ktdreyer commented on pull request #348:
URL: https://github.com/apache/qpid-proton/pull/348#issuecomment-998087114


   Yes, https://pagure.io/koji/issue/3120 has the background. There is some confusion around what a `0` TTL means. Does it mean "send a header with a zero value", or "send no header" ?
   
   Python has a `NoneType`, so a programmer might assume that `0` sends a zero header, while `None` means send no header at all. My doc update in this PR implicitly clarifies why Proton uses `0` instead of `None` to mean "no ttl header".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org