On Thu, May 14, 2015 at 3:33 PM, Brad Fitzpatrick <
brad...@golang.org> wrote:
>> It looks like the TLS server implementation in crypto/tls only supports
>> session resumption with session tickets. I would like to add a couple hooks
>> to the server handshake to support caching based on session IDs. Similar to
>> ClientSessionCache, I'm proposing adding a ServerSessionCache interface that
>> could be implemented by server code to support caching. In the case where
>> the field is not set, it would behave exactly as it does now. Would such a
>> change be welcome? Should I open an issue or just submit the patch?
Not really? Extra complexity always costs and the session resumption
is already quite complex. Now, given that we already have ticket-based
resumption, ID-based isn't that much more. However, it only benefits
poor clients. Even Windows supports tickets these days.
You might be seeing a number of clients that aren't offering ticket
support but, unless it's all old versions of SChannel, experience
suggests that even if you tried offering ID-based resumption, those
clients wouldn't actually resume. They are often robots that just
aren't setup for resumption.
Cheers
AGL