Ignore EPIPE when sending NewSessionTickets in TLSv1.3
authorMatt Caswell <matt@openssl.org>
Mon, 13 Aug 2018 19:18:32 +0000 (20:18 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 4 Sep 2018 10:06:48 +0000 (11:06 +0100)
commitf273ff953abfafbb5fc4d68904469f862fbeae8a
treee115f55e382c05ea54641965d1b944e95e79de70
parent785e614a95a134831f213749332bcf40c4920f69
Ignore EPIPE when sending NewSessionTickets in TLSv1.3

If a client sends data to a server and then immediately closes without
waiting to read the NewSessionTickets then the server can receive EPIPE
when trying to write the tickets and never gets the opportunity to read
the data that was sent. Therefore we ignore EPIPE when writing out the
tickets in TLSv1.3

Fixes #6904

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6944)
ssl/statem/statem_srvr.c