You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2014/02/03 15:08:08 UTC

[jira] [Created] (PROTON-507) [proton-c] Idle time out should advertise half the actual timeout period.

Ken Giusti created PROTON-507:
---------------------------------

             Summary: [proton-c] Idle time out should advertise half the actual timeout period.
                 Key: PROTON-507
                 URL: https://issues.apache.org/jira/browse/PROTON-507
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-c
    Affects Versions: 0.6
         Environment: all
            Reporter: Ken Giusti
             Fix For: 0.7


According to the amqp1.0 specification (section 2.4.5 Idle Timeout of a Connection):

  "To avoid spurious timeouts, the value in idle-time-out SHOULD be half the peer’s actual timeout threshold."

Proton-C does not do this - the Open frame contains the exact timeout interval configured, not half.  Proton-C will consider the connection idle and close it once the advertised timeout period has hit, not twice.

Not a bug - it's current behavior is legit.  I wanted to raise it - is there a consensus to change the implementation to follow the recommendation?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)