Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix crash using SOUP_LOGGER_LOG_BODY with SoupContentSnifferpgriffis/soup-logger-crash | Patrick Griffis | 2023-03-16 | 2 | -1/+54 |
| | |||||
* | soup-listener: Plug a leak | Alessandro Bono | 2023-02-24 | 1 | -0/+2 |
| | | | | Fixes: 25e96cad913cde650ca56ff76c3924fd97eb7125 | ||||
* | Add a missing nullable annotation | Lukáš Tyrychtr | 2023-02-20 | 1 | -1/+1 |
| | | | | Fixes #335 | ||||
* | Fix handling of sniffed data | Patrick Griffis | 2023-02-15 | 1 | -13/+22 |
| | | | | Closes #334 | ||||
* | Post-release bump | Patrick Griffis | 2023-02-12 | 1 | -1/+1 |
| | |||||
* | Prepare 3.3.13.3.1 | Patrick Griffis | 2023-02-12 | 1 | -0/+6 |
| | |||||
* | http1: fix crash when skipping respone stream with chunked enconding | Carlos Garcia Campos | 2023-02-08 | 2 | -2/+71 |
| | | | | | | | When skipping the response body the given buffer is NULL, which is not handled for chunked enconding when reading the trailers. Fixes #323 | ||||
* | Do not wait for the next loop iteration to unqueue async items | Carlos Garcia Campos | 2023-02-03 | 8 | -99/+14 |
| | | | | | | This way we release the connection earlier, since other requests might be waiting for the connection. We can also remove manual loop iterations in the tests after a request is done. | ||||
* | Update Belarusian translation | Vasil Pupkin | 2023-01-23 | 1 | -12/+11 |
| | |||||
* | cookie-jar: Fix valid Secure cookies being rejected | Patrick Griffis | 2023-01-23 | 2 | -6/+13 |
| | | | | | The documentation for soup_cookie_jar_add_cookie_full() states NULL uris are always treated as a secure origin. | ||||
* | Post-release bump | Patrick Griffis | 2023-01-20 | 1 | -1/+1 |
| | |||||
* | Release 3.3.03.3.0 | Patrick Griffis | 2023-01-20 | 1 | -0/+33 |
| | |||||
* | websocket-test: Fix minor warnings | Patrick Griffis | 2023-01-20 | 1 | -3/+1 |
| | |||||
* | soup-message: Publicize API to force HTTP/1 version for sending | Milan Crha | 2023-01-20 | 2 | -0/+44 |
| | | | | | | | | This way also the libsoup library users can force HTTP/1 version only for some messages, not for the whole process (through the environment variable). Closes https://gitlab.gnome.org/GNOME/libsoup/-/issues/261 | ||||
* | soup-connection-manager: Read 'SOUP_FORCE_HTTP1' environment variable only once | Milan Crha | 2023-01-20 | 1 | -1/+5 |
| | | | | | | The environment variables usually do not change during runtime, it's unexpected even for this semi-debugging variable, thus let it be read only once and the result being used repeatedly. | ||||
* | connection-manager: free unused hosts always in the session context | Carlos Garcia Campos | 2023-01-20 | 1 | -12/+35 |
| | | | | And with the connection manager mutex locked. | ||||
* | cookies: Only consider space and tab as whitespace | Siwei Li | 2023-01-19 | 1 | -9/+7 |
| | | | | | | The cookies spec defines whitespace as that. Previously we handled everything `isspace()` considered whitespace such as newlines which is incorrect. | ||||
* | cookie-jar: Reject cookies with control characters in name or value | Siwei Li | 2023-01-19 | 3 | -4/+92 |
| | |||||
* | cookies: Add support for cookie prefixes | Siwei Li | 2023-01-16 | 2 | -0/+80 |
| | | | | | | | | | | This is a spec that Firefox and Chrome implement: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cookie-prefixes-00 Closes #349 Closes #326 Co-authored-by: Patrick Griffis <pgriffis@igalia.com> | ||||
* | CI: Generate coverage reports | Patrick Griffis | 2023-01-16 | 3 | -3/+7 |
| | | | | Closes #290 | ||||
* | docs: Run gtkdoc-rebase to fix relative glib links | Patrick Griffis | 2023-01-17 | 1 | -0/+1 |
| | |||||
* | ci: Add gtk-doc to image | Patrick Griffis | 2023-01-17 | 3 | -2/+3 |
| | |||||
* | docker: Workaround wsaccel 0.6.4 not installing | Patrick Griffis | 2023-01-17 | 1 | -1/+2 |
| | |||||
* | docs: Add robots.txt | Patrick Griffis | 2023-01-17 | 2 | -1/+6 |
| | |||||
* | CI: Fix showing test results in gitlab | Patrick Griffis | 2023-01-16 | 1 | -1/+5 |
| | |||||
* | docs: Fix dependency names | Corey Berla | 2023-01-16 | 1 | -1/+1 |
| | | | | | Dependency names need to match the namespace name exactly (including capitalization) otherwise they won't be shown as dependencies. | ||||
* | SameSite=None cookies should be rejected unless the Secure attribute is set. | Siwei Li | 2023-01-14 | 2 | -3/+13 |
| | |||||
* | message: fix critical when trying to create a message from invalid URI | Guillaume Desmottes | 2023-01-12 | 1 | -1/+1 |
| | | | | | | | | | soup_message_new_from_uri() raises a critical if SOUP_URI_IS_VALID returns FALSE. This macro also checks if the URI host is not an empty string, which was not checked in the caller code. Fix critical when running such GStreamer pipeline: gst-launch-1.0 souphttpsrc location=http:///not-there.ogg ! fakesink | ||||
* | message: add SoupMessage::got-body-data signal | Carlos Garcia Campos | 2023-01-11 | 6 | -16/+90 |
| | | | | | | It can be used to monitor the progress of the read operation. Fixes #319 | ||||
* | soup_uri_copy: Don't retain default ports when copying | Patrick Griffis | 2023-01-09 | 2 | -1/+36 |
| | | | | Fixes #322 | ||||
* | Update Belarusian translation | Vasil Pupkin | 2023-01-09 | 1 | -91/+105 |
| | |||||
* | soup-connection-auth: Add thread safety around 'conns' hash table | Milan Crha | 2023-01-02 | 1 | -3/+13 |
| | | | | | | | The GHashTable is not thread safe, thus add a thread safety around it, to avoid issues when it's accessed from multiple threads at the same time. Closes https://gitlab.gnome.org/GNOME/libsoup/-/issues/317 | ||||
* | session: add soup_session_send_and_splice() and ↵ | Carlos Garcia Campos | 2022-12-14 | 3 | -95/+256 |
| | | | | | | | soup_session_send_and_splice_async() This is convenient API for reading the request body stream and writing it to an output stream. | ||||
* | server-connection: fix dep cycle and connection leak | BiagioFesta | 2022-12-13 | 1 | -0/+1 |
| | | | | | | | | | The initial message contains a cycle-reference to the connection. We need to decrement the reference in order to properly clean up the connection. Before this patch, it was possible SoupServerConnection-finalize was never called. This was causing a memory leak (and socket FD leak). | ||||
* | cookie: Change default same-site value to Lax | Amanda | 2022-11-28 | 4 | -10/+22 |
| | | | | | | | As per https://datatracker.ietf.org/doc/html/draft-west-cookie-incrementalism-00, the default value is now Lax. This change was introduced in Chrome 80 and Firefox 96. | ||||
* | soupWebsocket: don't add the protocols header if it would be empty | Lukáš Tyrychtr | 2022-11-24 | 2 | -4/+63 |
| | | | | Fixes #314 | ||||
* | soup-multipart.c: add missing (nullable) annotations | Val Och | 2022-11-20 | 1 | -2/+2 |
| | |||||
* | cookie: Simplify same-site-policy property | Patrick Griffis | 2022-11-18 | 1 | -7/+4 |
| | | | | | | Previously this used the GDataSet API to avoid modifying the public SoupCookie struct in libsoup2, however since this is now an opaque struct we can just directly include it. | ||||
* | tests: Explicitly test NULL path comparision | Patrick Griffis | 2022-11-15 | 1 | -2/+2 |
| | |||||
* | cookie: Test for: Fix soup_cookie_equal() with NULL path | Amanda | 2022-11-15 | 1 | -0/+15 |
| | |||||
* | cookie: Fix soup_cookie_equal() with NULL path | Patrick Griffis | 2022-11-14 | 1 | -1/+1 |
| | | | | | It is valid for a SoupCookie to be constructed with a NULL path and strcmp() isn't NULL safe. | ||||
* | Fix typo in soup-message-metrics.c | wi24rd | 2022-11-11 | 1 | -1/+1 |
| | |||||
* | server: handle the case of connection being disconnected while message is paused | Carlos Garcia Campos | 2022-11-10 | 4 | -5/+8 |
| | | | | | It can happen in http2, that one stream is paused, but the connection is closed due to an io error, or the client closed the connection. | ||||
* | server: close http/2 connection after io error or goaway received | Carlos Garcia Campos | 2022-11-10 | 2 | -14/+43 |
| | |||||
* | server: do not leak idle connections closed by the client | Carlos Garcia Campos | 2022-11-08 | 4 | -14/+53 |
| | |||||
* | server: return early from io_run if server io doesn't match after io_run_until() | Carlos Garcia Campos | 2022-10-21 | 1 | -0/+8 |
| | | | | | | It happens when the io data is destroyed during the io_run_until(). Fixes #309 | ||||
* | server: SoupServerConnection is leaked after being stolen | Carlos Garcia Campos | 2022-10-21 | 2 | -1/+2 |
| | | | | | | When soup_server_connection_steal() is called disconnected signal is not emitted, so SoupServer doesn't remove the connection from the client list. | ||||
* | server-connection: Ensure we clean up the socket | Jan Alexander Steffens (heftig) | 2022-10-21 | 1 | -3/+5 |
| | | | | | | | If the `conn` has been freed due to stealing, we don't disconnect but we still need to clean up the socket. Fixes: https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/321#note_1578921 | ||||
* | http2: content-sniffed should be emitted even for resources with no content | Carlos Garcia Campos | 2022-10-18 | 2 | -19/+38 |
| | | | | They are always considered text/plain like in http1. | ||||
* | http2: return early from data source callack if data is NULL | Carlos Garcia Campos | 2022-10-17 | 1 | -0/+9 |
| | | | | | | It can happen in case of cancellation. Fixes #305 |