Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Add test for threaded http2 body readswip/threaded-body-reads | Patrick Griffis | 2022-10-08 | 1 | -0/+45 |
| | |||||
* | Fix issues found by scan-build | Patrick Griffis | 2022-10-06 | 1 | -6/+7 |
| | |||||
* | ci: Update to Fedora 36 | Patrick Griffis | 2022-10-06 | 3 | -47/+10 |
| | |||||
* | ci: Update meson usage | Patrick Griffis | 2022-10-05 | 1 | -5/+5 |
| | |||||
* | ci: Update libnghttp2 to 1.50.0 | Patrick Griffis | 2022-10-05 | 3 | -3/+13 |
| | |||||
* | websocket: handle more invalid close codes | Carlos Garcia Campos | 2022-09-28 | 2 | -5/+39 |
| | |||||
* | doc: fix SoupMessage::got-body documentation | Carlos Garcia Campos | 2022-09-28 | 1 | -5/+1 |
| | | | | | | It's emitted after receiving the response body, not the request body. See #303 | ||||
* | tests: add new test to check new request on got-body reuses the connection | Carlos Garcia Campos | 2022-09-27 | 1 | -1/+156 |
| | | | | | | And not in the case of got-headers as the documentation says. See #303 | ||||
* | http2: return early from several callbacks after cancellation | Carlos Garcia Campos | 2022-09-26 | 1 | -20/+31 |
| | | | | Fixes #299 | ||||
* | Update Turkish translation | Sabri Ünal | 2022-09-18 | 1 | -81/+48 |
| | |||||
* | 3.2.03.2.0 | Patrick Griffis | 2022-09-14 | 2 | -1/+3 |
| | |||||
* | 3.1.43.1.4 | Patrick Griffis | 2022-09-02 | 2 | -1/+7 |
| | |||||
* | Update POTFILES.in | Piotr Drąg | 2022-09-02 | 1 | -0/+1 |
| | |||||
* | http2-test: add invalid header received test | Carlos Garcia Campos | 2022-09-01 | 1 | -0/+41 |
| | | | | | Check we now get an HTTP/2 protocol error when an ivalid header value is received from the server. | ||||
* | http2: always try to write before every read | Carlos Garcia Campos | 2022-08-31 | 1 | -0/+6 |
| | | | | | | | | | It can happen that an error handled by nghttp2 generates a reset stream frame that needs to be sent, so we need to try to write even if we haven't made any explict call that requires writing. Also give more priority to write source than read source. Fixes #298 | ||||
* | http2: Handle all http2 errors on stream close | Carlos Garcia Campos | 2022-08-31 | 1 | -6/+24 |
| | | | | | Set the data error and save thee http2 error to ensure we don't retry the message in case of unhandled http2 error. | ||||
* | http2: retry messages that failed due to IO errors | Carlos Garcia Campos | 2022-08-31 | 2 | -17/+48 |
| | |||||
* | server: make sure we don't call nghttp2 IO functions from callbacks | Carlos Garcia Campos | 2022-08-31 | 1 | -2/+38 |
| | |||||
* | http2: mark IO as shutting down before processing async pending messages | Carlos Garcia Campos | 2022-08-31 | 1 | -2/+2 |
| | |||||
* | http2: set the IO error for sync requests too | Carlos Garcia Campos | 2022-08-31 | 1 | -4/+6 |
| | |||||
* | http2: finish the async close task in case of IO error | Carlos Garcia Campos | 2022-08-31 | 1 | -0/+5 |
| | |||||
* | http2: handle connection terminated unexpectedly error when reading | Carlos Garcia Campos | 2022-08-31 | 2 | -2/+23 |
| | |||||
* | http2: check error/progress before session want read/write | Carlos Garcia Campos | 2022-08-31 | 1 | -3/+3 |
| | |||||
* | server: fix crash when HTTP/2 connection is closed early | Carlos Garcia Campos | 2022-08-31 | 1 | -3/+26 |
| | | | | | On connection disconnect the io data is destroyed, which can happen in the middle of a read or write operation. | ||||
* | Fix ssize_t not being defined on msvc | Patrick Griffis | 2022-08-30 | 1 | -1/+2 |
| | | | | We alias ssize_t to gssize so the glib header must be included first. | ||||
* | http2: do not send RST_STREAM for already closed sreams | Carlos Garcia Campos | 2022-08-30 | 1 | -1/+3 |
| | |||||
* | http2: finish the message IO when request is cancelled | Carlos Garcia Campos | 2022-08-30 | 2 | -6/+3 |
| | |||||
* | connection: always handle http proxies | Carlos Garcia Campos | 2022-08-23 | 1 | -7/+8 |
| | | | | | | | | We don't want glib to handle http proxy connections for us, so also set the http application proxy for socket client when using the default proxy configuration. Fixes #294 | ||||
* | 3.1.33.1.3 | Patrick Griffis | 2022-08-15 | 2 | -1/+5 |
| | |||||
* | soup-version: Fix duplicate extern | Patrick Griffis | 2022-08-15 | 1 | -1/+1 |
| | | | | Closes #295 | ||||
* | 3.1.23.1.2 | Patrick Griffis | 2022-08-15 | 2 | -1/+6 |
| | |||||
* | build: Bump and document soversion | Patrick Griffis | 2022-08-15 | 2 | -16/+17 |
| | |||||
* | Use the project deprecation macros | Emmanuele Bassi | 2022-08-15 | 1 | -5/+5 |
| | | | | | This way we ensure every symbol gets exported, even when deprecated, and that deprecation warnings can be disabled. | ||||
* | Add own wrappers for deprecation macros | Emmanuele Bassi | 2022-08-15 | 1 | -0/+46 |
| | | | | | | | We need to ensure that deprecated and unavailable symbols are still exported, so we should use our own symbol. While at it, the deprecation warnings should be toggleable. | ||||
* | Update POTFILES.in | Piotr Drąg | 2022-08-13 | 1 | -2/+2 |
| | |||||
* | server: do not try to use server io after soup_server_message_finish() | Carlos Garcia Campos | 2022-08-12 | 1 | -6/+8 |
| | | | | Message finish can destroy the server io. | ||||
* | server-test: ensure we unpause the message from the server thread | Carlos Garcia Campos | 2022-08-12 | 1 | -1/+3 |
| | |||||
* | server: add http/2 debug messages | Carlos Garcia Campos | 2022-08-12 | 2 | -1/+52 |
| | |||||
* | http2: add HTTP/2 utils with common functions and enums | Carlos Garcia Campos | 2022-08-12 | 5 | -221/+186 |
| | |||||
* | tests: use SoupServer instead of quart for HTTP/2 tests | Carlos Garcia Campos | 2022-08-12 | 8 | -342/+311 |
| | |||||
* | server: add initial support for HTTP/2 | Carlos Garcia Campos | 2022-08-12 | 8 | -9/+902 |
| | | | | For now the plan is to use it only for testing the client APIs. | ||||
* | server: deprecate soup_server_message_pause/unpause methods | Carlos Garcia Campos | 2022-08-12 | 10 | -42/+62 |
| | | | | | They don't use the server at all, they just call soup_server_message_pause/unpause, so we can make them public instead. | ||||
* | server: replace soup_server_connection_setup_async with ↵ | Carlos Garcia Campos | 2022-08-12 | 3 | -73/+20 |
| | | | | | | | | | soup_server_connection_accepted Now that we have connected and request-started signals in the connection, we no longer need the setup async function, we can just notify the connection that it's been accepted and do the setup and tls handshake. | ||||
* | server: make server clients be the connections and not the messages | Carlos Garcia Campos | 2022-08-12 | 6 | -100/+180 |
| | | | | | | | | | | | | Client list is now a list of connections, owned by the server. The connection creates the messages and notifies the server with request-started signal. The first message is created before the TLS handshake, and then request-started is emitted to allow the user to connect to accept-certificate signal on the message. If the connection is persistent, the next request-started signal will be emitted if there's an actual request from the client. This is a change in behavior, before we always emitted the request-started when waiting for a new request even if the request never actually started. | ||||
* | soup-server-message: add connected signal | Carlos Garcia Campos | 2022-08-12 | 2 | -2/+40 |
| | | | | | Emitted when the connection is connected and the TLS handshake completed. Use connection connected signal to set the IO data. | ||||
* | server: add SoupServerMessageIO interface | Carlos Garcia Campos | 2022-08-12 | 10 | -123/+265 |
| | |||||
* | server: move io data ownership from SoupServerMessage to SoupServerConnection | Carlos Garcia Campos | 2022-08-12 | 6 | -17/+64 |
| | |||||
* | server: move server io to http1 directory and split the struct | Carlos Garcia Campos | 2022-08-12 | 3 | -81/+113 |
| | |||||
* | server-message: remove socket, local_addr and remote_addr members | Carlos Garcia Campos | 2022-08-12 | 2 | -35/+10 |
| | | | | They can just be get from the connection. | ||||
* | server: split SoupSocket into SoupListener and SoupServerConnection | Carlos Garcia Campos | 2022-08-12 | 14 | -1344/+1274 |
| |