3 Commits
Author SHA1 Message Date
Diego Pino Garcia 7a98acbda5 Update sysprof revision 2021-05-19 15:07:10 +00:00
Philip Withnall 1369a85a7b soup-message-io: Add sysprof profiling support for HTTP connections
This adds very basic support for dumping HTTP connection information to
sysprof, if the process is being run under a sysprof session.

See https://gitlab.gnome.org/GNOME/sysprof/-/issues/43 for plans of how
this could be expanded in future. This is just a starting point.

The code in this commit dumps a message to the sysprof capture which
includes the URI, total time for the connection (request + response),
and the amount of data transferred in the request and response.

It adds an optional dependency on `libsysprof-capture-4.a`, and a
subproject for building that if it’s not available on the system.

Signed-off-by: Philip Withnall <[email protected]>
2020-07-27 15:44:00 +01:00
Carlos Garcia Campos 13cea0fdf2 WebSockets: add support for permessage-deflate extension
Add new API to add WebSocket extensions to SoupSession and SoupServer
and include an implementation of permessage-deflate extension (see RFC
7692). In the client side, supported extensions are added to the session
as sub-features of a new session feature, SoupWebsocketExtensionManager.
In the client side, supported extensions are added/removed directly using
the new SoupServer API. All functions to negotiate the handshake
(client_prepare, client_verify, server_check and server_process) have
now a _with_extensions alternative to handle the extensions.
2019-07-31 14:09:00 +02:00