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
tcp/https/https.c@167:3ba4e3c49631, 2020-04-02 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Apr 02 19:08:25 2020 +0000
- Revision:
- 167:3ba4e3c49631
- Parent:
- 166:89e3ce39b31b
Modified resolution cache ajaxs to include the index
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 166:89e3ce39b31b | 1 | #include <stdint.h> |
andrewboyson | 166:89e3ce39b31b | 2 | #include <stdbool.h> |
andrewboyson | 166:89e3ce39b31b | 3 | |
andrewboyson | 166:89e3ce39b31b | 4 | #include "tls.h" |
andrewboyson | 166:89e3ce39b31b | 5 | #include "http.h" |
andrewboyson | 166:89e3ce39b31b | 6 | |
andrewboyson | 166:89e3ce39b31b | 7 | bool HttpsGetTrace() |
andrewboyson | 166:89e3ce39b31b | 8 | { |
andrewboyson | 166:89e3ce39b31b | 9 | return HttpGetTrace() || TlsTrace; |
andrewboyson | 166:89e3ce39b31b | 10 | } |
andrewboyson | 166:89e3ce39b31b | 11 | void HttpsReset(int connectionId) |
andrewboyson | 166:89e3ce39b31b | 12 | { |
andrewboyson | 166:89e3ce39b31b | 13 | TlsReset(connectionId); |
andrewboyson | 166:89e3ce39b31b | 14 | } |
andrewboyson | 166:89e3ce39b31b | 15 | bool HttpsResponse(int connectionId, bool clientFinished, int* pWindowSize, uint8_t* pWindow, uint32_t windowPositionInStream) |
andrewboyson | 166:89e3ce39b31b | 16 | { |
andrewboyson | 166:89e3ce39b31b | 17 | return TlsResponse(connectionId, clientFinished, pWindowSize, pWindow, windowPositionInStream); |
andrewboyson | 166:89e3ce39b31b | 18 | } |
andrewboyson | 166:89e3ce39b31b | 19 | void HttpsRequest (int connectionId, int windowSize, uint8_t* pWindow, uint32_t windowPositionInStream) |
andrewboyson | 166:89e3ce39b31b | 20 | { |
andrewboyson | 166:89e3ce39b31b | 21 | TlsRequest(connectionId, windowSize, pWindow, windowPositionInStream); |
andrewboyson | 166:89e3ce39b31b | 22 | } |