summaryrefslogtreecommitdiff
path: root/src/gmrequest.h
AgeCommit message (Collapse)Author
2021-03-02Server certificates may also be verified by CAsJaakko Keränen
If the CA file/path are configured in preferences, trust CA verification over manual TOFU checks.
2021-02-26Don't apply MIME hooks on downloaded filesJaakko Keränen
2020-11-24Fixed threading issues and data racesJaakko Keränen
The most serious problem was that GmRequest's response body was being accessed while the TlsRequest thread was modifying it. Now the response must always be locked before accessing elsewhere. There were also inefficient data updates in the media players.
2020-11-08Manually trusting a server certificateJaakko Keränen
2020-11-07CleanupJaakko Keränen
2020-11-07GmRequest: Removed timeoutsJaakko Keränen
No automatic timeouts to facilitate long connections. The server can indicate closing of the connection via TLS or by closing the socket.
2020-09-22DocumentWidget: Drawing side elementsJaakko Keränen
The banner appears on the left, if there is room in the margin. Also added a document timestamp in the bottom to see when the data was received.
2020-08-22Added BSD 2-clause license and copyright noticesJaakko Keränen
2020-08-12Save and load app state (tabs, history)Jaakko Keränen
2020-08-08Handling "about:home"; GmRequest decouplingJaakko Keränen
GmRequest is given a pointer to the GmCerts to use. Also, timeouts are handled via a posted command so they get processed in the main thread.
2020-08-08Cancel GmRequest from the main threadJaakko Keränen
Doing it in the SDL timer thread causes mutex lockups.
2020-08-08Showing the server certificate subject nameJaakko Keränen
2020-08-06Added GmResponse as its own typeJaakko Keränen
2020-08-03Server certificate TOFUJaakko Keränen
2020-08-03Working on server certificatesJaakko Keränen
2020-07-26GmRequest: Tweaking cancel behaviorJaakko Keränen
2020-07-24Font update; ANSI color escapes; fixed URL updateJaakko Keränen
Newer version of the Fira fonts, and added a separate UI font (Source Sans Pro). The text renderer checks for the 4-bit ANSI color escapes for the setting the foreground color. InputWidget supports paste from clipboard. The navbar updates the current URL when the page has been loaded.
2020-07-24Added GmRequest for handling the requestJaakko Keränen
This feels a little bit too complex, with GmRequest observing TlsRequest and then notifying its own audience. There are still some issues with cancelling requests as well.