summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add test for threaded http2 body readswip/threaded-body-readsPatrick Griffis2022-10-081-0/+45
|
* Fix issues found by scan-buildPatrick Griffis2022-10-061-6/+7
|
* ci: Update to Fedora 36Patrick Griffis2022-10-063-47/+10
|
* ci: Update meson usagePatrick Griffis2022-10-051-5/+5
|
* ci: Update libnghttp2 to 1.50.0Patrick Griffis2022-10-053-3/+13
|
* websocket: handle more invalid close codesCarlos Garcia Campos2022-09-282-5/+39
|
* doc: fix SoupMessage::got-body documentationCarlos Garcia Campos2022-09-281-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 connectionCarlos Garcia Campos2022-09-271-1/+156
| | | | | | And not in the case of got-headers as the documentation says. See #303
* http2: return early from several callbacks after cancellationCarlos Garcia Campos2022-09-261-20/+31
| | | | Fixes #299
* Update Turkish translationSabri Ünal2022-09-181-81/+48
|
* 3.2.03.2.0Patrick Griffis2022-09-142-1/+3
|
* 3.1.43.1.4Patrick Griffis2022-09-022-1/+7
|
* Update POTFILES.inPiotr Drąg2022-09-021-0/+1
|
* http2-test: add invalid header received testCarlos Garcia Campos2022-09-011-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 readCarlos Garcia Campos2022-08-311-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 closeCarlos Garcia Campos2022-08-311-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 errorsCarlos Garcia Campos2022-08-312-17/+48
|
* server: make sure we don't call nghttp2 IO functions from callbacksCarlos Garcia Campos2022-08-311-2/+38
|
* http2: mark IO as shutting down before processing async pending messagesCarlos Garcia Campos2022-08-311-2/+2
|
* http2: set the IO error for sync requests tooCarlos Garcia Campos2022-08-311-4/+6
|
* http2: finish the async close task in case of IO errorCarlos Garcia Campos2022-08-311-0/+5
|
* http2: handle connection terminated unexpectedly error when readingCarlos Garcia Campos2022-08-312-2/+23
|
* http2: check error/progress before session want read/writeCarlos Garcia Campos2022-08-311-3/+3
|
* server: fix crash when HTTP/2 connection is closed earlyCarlos Garcia Campos2022-08-311-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 msvcPatrick Griffis2022-08-301-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 sreamsCarlos Garcia Campos2022-08-301-1/+3
|
* http2: finish the message IO when request is cancelledCarlos Garcia Campos2022-08-302-6/+3
|
* connection: always handle http proxiesCarlos Garcia Campos2022-08-231-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.3Patrick Griffis2022-08-152-1/+5
|
* soup-version: Fix duplicate externPatrick Griffis2022-08-151-1/+1
| | | | Closes #295
* 3.1.23.1.2Patrick Griffis2022-08-152-1/+6
|
* build: Bump and document soversionPatrick Griffis2022-08-152-16/+17
|
* Use the project deprecation macrosEmmanuele Bassi2022-08-151-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 macrosEmmanuele Bassi2022-08-151-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.inPiotr Drąg2022-08-131-2/+2
|
* server: do not try to use server io after soup_server_message_finish()Carlos Garcia Campos2022-08-121-6/+8
| | | | Message finish can destroy the server io.
* server-test: ensure we unpause the message from the server threadCarlos Garcia Campos2022-08-121-1/+3
|
* server: add http/2 debug messagesCarlos Garcia Campos2022-08-122-1/+52
|
* http2: add HTTP/2 utils with common functions and enumsCarlos Garcia Campos2022-08-125-221/+186
|
* tests: use SoupServer instead of quart for HTTP/2 testsCarlos Garcia Campos2022-08-128-342/+311
|
* server: add initial support for HTTP/2Carlos Garcia Campos2022-08-128-9/+902
| | | | For now the plan is to use it only for testing the client APIs.
* server: deprecate soup_server_message_pause/unpause methodsCarlos Garcia Campos2022-08-1210-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 Campos2022-08-123-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 messagesCarlos Garcia Campos2022-08-126-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 signalCarlos Garcia Campos2022-08-122-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 interfaceCarlos Garcia Campos2022-08-1210-123/+265
|
* server: move io data ownership from SoupServerMessage to SoupServerConnectionCarlos Garcia Campos2022-08-126-17/+64
|
* server: move server io to http1 directory and split the structCarlos Garcia Campos2022-08-123-81/+113
|
* server-message: remove socket, local_addr and remote_addr membersCarlos Garcia Campos2022-08-122-35/+10
| | | | They can just be get from the connection.
* server: split SoupSocket into SoupListener and SoupServerConnectionCarlos Garcia Campos2022-08-1214-1344/+1274
|