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
Diff: tcp/tcpsend.c
- Revision:
- 157:b0bdb77e27f3
- Parent:
- 156:be12b8fd5b21
- Child:
- 159:3ebef2d02f7f
diff -r be12b8fd5b21 -r b0bdb77e27f3 tcp/tcpsend.c
--- a/tcp/tcpsend.c Wed Aug 28 07:11:58 2019 +0000
+++ b/tcp/tcpsend.c Sun Sep 01 18:14:13 2019 +0000
@@ -38,8 +38,8 @@
{
switch (port)
{
- case 80:
- case 443: return HttpShimGetTrace();
+ case 80: return HttpShimGetTrace(false);
+ case 443: return HttpShimGetTrace(true );
default: return false;
}
}
@@ -51,8 +51,8 @@
bool finished = false;
switch (port)
{
- case 80: finished = HttpShimPoll(connection, clientFinished, false); break;
- case 443: finished = HttpShimPoll(connection, clientFinished, true ); break;
+ case 80: finished = HttpShimPoll(false, connection, clientFinished); break;
+ case 443: finished = HttpShimPoll(true, connection, clientFinished); break;
}
*pDataLength = TcpBufLength();
return finished;