Simon McVittie
ceabf7c823
tests: Install missing test cert and key for installed-tests
...
We need these if we are reusing the build-time tests for
"as-installed" testing.
Signed-off-by: Simon McVittie <[email protected] >
2022-03-05 18:05:15 +00:00
Simon McVittie
240437e3a7
tests: Install http2-server.py
...
We need this if we are reusing the build-time tests for
"as-installed" testing.
Signed-off-by: Simon McVittie <[email protected] >
2022-03-05 18:05:12 +00:00
Naala Nanba
542bc706a7
Add Abkhazian translation
2022-03-01 09:27:26 +00:00
Patrick Griffis
1f57d0fdbc
Move private types out of soup-types.h
...
These would get picked up by g-i which we don't want.
2022-02-08 11:27:08 -06:00
Ignacio Casal Quinteiro
bdc21b67be
server: fix crash when sending an invalid percent encoding path
...
Fixes #262
2022-01-31 12:44:37 +01:00
Ignacio Casal Quinteiro
49004e3be3
test: add test about invalid percent encoding paths
2022-01-31 12:44:11 +01:00
Patrick Griffis
d93656501d
Handle potential g_uri_unescape_string failures
...
It is possible that unescaping fails so use g_strcmp0() which
is NULL safe or report that decoding failed.
2022-01-28 10:58:58 -06:00
Patrick Griffis
d335e2b561
ci: Bump image version
2022-01-17 11:50:37 -06:00
Patrick Griffis
c5e383fb8e
docker: Add gi-docgen
2022-01-17 11:50:37 -06:00
Patrick Griffis
28df3d238e
Clarify license listed in meson
...
Closes #161
2022-01-16 20:42:49 +00:00
Patrick Griffis
620affbcad
logger: Don't treat max-body-size of 0 as unlimited
...
Also fix default value of -1 not being set.
Closes #259
2022-01-10 18:40:52 -06:00
Patrick Griffis
892fac1f31
session: Document the context callbacks are invoked on
2022-01-10 17:53:30 +00:00
Patrick Griffis
25a728020c
3.0.4
3.0.4
2022-01-05 20:47:57 -06:00
Patrick Griffis
3b8768e6da
tests: Fix ssl-test with latest glib-networking changes
...
Discussed in !194
2022-01-01 13:32:00 -06:00
Simon McVittie
50ae331b7a
test-utils: Save Apache server root during initialization
...
By the time we want to use it during teardown, it is no longer safe to
call g_test_build_filename(), because some GTest state is discarded
at the end of g_test_run() (see glib#2563). As a result, the command
that should shut down the server fails, the server continues to run, and
its port is unavailable for the next test-case.
This should mostly resolve
<https://gitlab.gnome.org/GNOME/libsoup/-/issues/175 >.
Signed-off-by: Simon McVittie <[email protected] >
2022-01-01 19:03:13 +00:00
Simon McVittie
2bf112c9a2
test-utils: Log Apache arguments
...
This helped to diagnose a use-after-free bug in the unit tests.
Signed-off-by: Simon McVittie <[email protected] >
2022-01-01 19:03:13 +00:00
Jens Georg
6edbb6b8cc
vapi: Expose soup_uri_copy
2022-01-01 18:41:40 +00:00
Christian Kirbach
1539a581b7
Update German translation
2021-12-31 10:12:58 +00:00
Carlos Garcia Campos
183a36b7db
http2: check status of pending messages after a read IO error
...
Fixes #256
2021-12-20 11:33:56 +01:00
Patrick Griffis
9b2435c428
docs: Fix stream type for soup_message_set_request_body in migration guide
...
#255
2021-12-17 00:42:28 +00:00
Melroy van den Berg
7c8272813f
Fix the DDL cross-compile build. Missing extern.
2021-12-06 19:49:13 +00:00
Patrick Griffis
fbf69d004d
3.0.3
3.0.3
2021-11-24 12:15:52 -06:00
Patrick Griffis
a2899a3f7a
tests: Fix brotli test comparing non-NUL-terminated data as a string
2021-11-24 12:15:31 -06:00
Carlos Garcia Campos
ddcd3beb3b
http2: Fix a memory leak in case of IO error
2021-11-22 12:19:33 +01:00
Carlos Garcia Campos
f0c5126e24
http2: Close in idle to ensure all pending io is finished first
...
Fixes a crash after sending GOAWAY frame introduced in 4787b42980
2021-11-22 12:19:33 +01:00
Patrick Griffis
9596a86941
Detect if libsoup2 is loaded in the same process at init
...
Closes #211
2021-11-16 10:20:02 -06:00
Günther Wagner
cbe22dd8c4
Small doc updates
...
As libsoup-2.4 the session did took over the reference for sending and reading messages clarify that this is not longer the case. The reference has to be cleaned up after the call.
2021-11-14 09:30:33 +01:00
Mart Raudsepp
2a28a44968
Drop remaining XML-RPC and libxml2 references
2021-11-11 15:24:34 +00:00
Carlos Garcia Campos
4787b42980
http2: ensure mem_send and mem_recv functions are not called from nghttp2 callbacks
2021-11-11 15:19:52 +00:00
Carlos Garcia Campos
6f7d0c8b9e
http2: ensure we always do blocking writes for sync requests
2021-11-11 15:19:52 +00:00
Mart Raudsepp
c7e251644c
connection: Fix memory leak in new_tls_connection
2021-11-11 16:47:34 +02:00
Carlos Garcia Campos
6a8b9d0aa0
http2: do not show a warning when RST_STREAM is received on a closed stream
...
According to the spec a stream that is half-closed can transition to
closed state when a frame that contains an END_STREAM flag is received
or when either peer sends a RST_STREAM frame.
2021-11-10 14:50:11 +01:00
Quentin PAGÈS
8ce11256df
Update Occitan translation
2021-11-09 20:50:34 +00:00
Milo Casagrande
2b177b1c12
Update Italian translation
2021-11-09 08:46:46 +00:00
Patrick Griffis
3da35ab389
websockets: Use more helpful error when payload too large
...
Show a hint on where to change this size for developers.
Closes #247
2021-11-08 19:21:51 -06:00
Jordi Mas i Hernandez
1d55c631f0
Update Catalan translation
2021-11-06 19:13:25 +00:00
Rūdolfs Mazurs
ff1478d026
Update Latvian translation
2021-10-26 17:24:21 +00:00
Patrick Griffis
ead1754ddf
3.0.2
3.0.2
2021-10-24 11:26:04 -05:00
Patrick Griffis
35ff116569
build: Downgrade incompatible-pointer-types from an error
...
This prevents building in some places due to the files generated
by glib-mkenums which shouldn't be a blocker.
2021-10-15 13:09:53 -05:00
Nirbheek Chauhan
6e126315ea
meson: Use gssapi as a proper dependency
...
There is no need to add it to the project arguments; we should treat
it as any other dependency. There's nothing special about it.
2021-10-09 16:29:16 +05:30
Patrick Griffis
9af7d0fc75
auth: Add support for multiple authentication challenges at once
...
This allows a server sending two different Digest headers with
different algorithms. libsoup will now parse both and use one
that is supported.
2021-10-08 05:45:14 -05:00
Patrick Griffis
32a079c2bf
cache: Use gint64 to handle time
...
GDateTime returns gint64 for unix timestamps instead of time_t
as it can store larger values.
This was a regression introduced in 4596b4ec .
Fixes #236
2021-10-03 11:45:44 -05:00
Yaron Shahrabani
4d5a65e843
Update Hebrew translation
2021-09-28 20:32:55 +00:00
Chun-wei Fan
cdfbe8ada5
meson.build: Define ssize_t for MSVC-style builds
...
This is necessary as we are using nghttp2 which uses ssize_t, which is not
defined by Microsoft's standard headers, and it is actually a part of POSIX.
2021-09-28 18:11:08 +08:00
Patrick Griffis
9be4116082
3.0.1
3.0.1
2021-09-26 11:24:10 -05:00
Patrick Griffis
d34c936045
Remove pygobject overrides
...
These will be moved to upstream pygobject where they make more sense.
2021-09-26 11:19:38 -05:00
Марко Костић
58d0412b76
Update Serbian translation
2021-09-24 02:11:58 +00:00
Patrick Griffis
1af594505c
Fix array-parameter warning
2021-09-20 15:45:10 -05:00
Patrick Griffis
fb98e9a8c3
Fix possibly uninitialized warnings
2021-09-20 15:43:27 -05:00
Patrick Griffis
d70e455be0
Replace strncpy with g_strlcpy
2021-09-20 15:40:11 -05:00