what is the difference between SREJ and REJ

329 views
Skip to first unread message

Iven Xu

unread,
Aug 14, 2017, 3:45:29 AM8/14/17
to QUIC Prototype Protocol Discussion group
Hi all,
    I try to understand "Handshake Process"  between client and server recently. I am confused about what is the difference between SREJ and REJ. 
      
        const QuicTag kREJ  = TAG('R', 'E', 'J', '\0');  // Reject
        const QuicTag kSREJ = TAG('S', 'R', 'E', 'J');   // Stateless reject

    I test with Chrome(60.0.3112.90), and when server receive CHLO, DoesPeerSupportStatelessRejects always return false. In this situation, server always send REJ to client. I wonder which client can support Stateless Rejects?
Could anyone tell me what is the difference with REJ and SREJ?

    Thank you.

Ryan Hamilton

unread,
Aug 16, 2017, 5:41:07 PM8/16/17
to proto...@chromium.org
When a client receives an SREJ message, it closes the connection and creates a new connection to send the next CHLO on. This allows the server to avoid keeping any state about the rejected handshake.

Cheers,

Ryan

--
You received this message because you are subscribed to the Google Groups "QUIC Prototype Protocol Discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to proto-quic+unsubscribe@chromium.org.
To post to this group, send email to proto...@chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Reply all
Reply to author
Forward
0 new messages