diff options
author | Tatjana Azundris Nuernberg <tatjana.nuernberg@oracle.com> | 2012-02-19 09:00:52 +0000 |
---|---|---|
committer | Tatjana Azundris Nuernberg <tatjana.nuernberg@oracle.com> | 2012-02-19 09:00:52 +0000 |
commit | 7d059dcbcd5366c27ed8f1f8ee8840b5942a3546 (patch) | |
tree | 0025bc00c07e133e19f181fe8986af401208fcc5 /vio/test-sslserver.c | |
parent | 5dbdb4db99464f8b2d93d89048b904ea65ad8630 (diff) | |
parent | a775a1844e89d7400375400caf3ca1c0e7f865ed (diff) | |
download | mariadb-git-7d059dcbcd5366c27ed8f1f8ee8840b5942a3546.tar.gz |
BUG#13431369 - MAIN.VARIABLES-NOTEMBEDDED CRASHES THE SERVER SPORADICALLY ON WINDOWS
On shutdown(), Windows can drop traffic still queued for sending even if that
wasn't specifically requested. As a result, fatal errors (those after
signaling which the server will drop the connection) were sometimes only
seen as "connection lost" on the client side, because the server-side
shutdown() erraneously discarded the correct error message before sending
it.
If on Windows, we now use the Windows API to access the (non-broken) equivalent
of shutdown().
Backport from trunk
Diffstat (limited to 'vio/test-sslserver.c')
0 files changed, 0 insertions, 0 deletions