Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Revision 24:cb43290fc439, committed 2020-04-01
- Comitter:
- andrewboyson
- Date:
- Wed Apr 01 12:48:52 2020 +0000
- Parent:
- 23:e93d5529b7a6
- Commit message:
- Added check so that if the client closes the TCP connection before the TLS connection is established then respond that we have finished and the TCP connection is to be closed.
Changed in this revision
tls/tls-response.c | Show annotated file Show diff for this revision Revisions of this file |
diff -r e93d5529b7a6 -r cb43290fc439 tls/tls-response.c --- a/tls/tls-response.c Mon Oct 28 08:18:57 2019 +0000 +++ b/tls/tls-response.c Wed Apr 01 12:48:52 2020 +0000 @@ -260,13 +260,13 @@ if (!pConnection) { *pWindowSize = 0; - return false; //Ignore empty connections in poll + return clientFinished; //Ignore empty connections in poll } if (!pConnection->sessionId) { *pWindowSize = 0; - return false; //Ignore empty sessions in poll + return clientFinished; //Ignore empty sessions in poll } struct TlsSession* pSession = TlsSessionOrNull(pConnection->sessionId);