| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
2.46.0
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Otherwise libsoup is unable to connect through proxies that use default
port (say, 80 for http). Proxy resolver resolves port-less proxy URLs
into network address with zero port, which is then passed to connect()
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug 651446 involved a race condition when queuing a message while
another message was being redirected on the same host. The fix
included a regression test, but later rewrites of SoupSession made the
race condition no longer possible, and made the test itself slightly
flaky. So just remove it.
|
| |
| |
| |
| |
| |
| | |
There was a comment about not using g_test_skip() here because of an
old glib bug, but we're using g_test_skip() in lots of other places
now, so...
|
| |
| |
| |
| | |
g_test_init() intercepts "-h" for "help", so make http-debug be "-H"
|
| |
| |
| |
| |
| | |
The tests use the TAP driver now, which only exists in glib 2.38 and
later.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use g_skip_test() to skip individual tests rather than just returning
status 77 from the test program as a whole.
In several cases, we still end up skipping more than necessary, due to
test cases that need to be split up more.
Remove the "MISSING_REGRESSION_TESTS_PACKAGES" functionality, since
the skipped tests are now pointed out explicitly.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update SoupContentSniffer (and sniffing-test) to match the current
version of the MIME sniffing spec.
https://bugzilla.gnome.org/show_bug.cgi?id=648849
https://bugzilla.gnome.org/show_bug.cgi?id=715126
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* decide on that before doing the image sniffing to match the spec
* use const char* and g_str_has_prefix for comparisons to make it
more legible
* deal with rdf:RDF tags
|
| | | |
|
| | |
| | |
| | |
| | | |
https://bugzilla.gnome.org/show_bug.cgi?id=715126
|
| | |
| | |
| | |
| | |
| | |
| | | |
This change adjusts the pattern matching table to the current form of
the MIMESNIFF spec, adding a check for a tag-terminating byte and
using the formally defined sniff-scriptable flag.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Run the text or binary algorithm when some specific text/plain Content-Types
are provided, since older versions of apache would send that type for binary
files. http://mimesniff.spec.whatwg.org/#dfnReturnLink-0
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
So GProxyResolver can distinguish between "http" and "https" requests,
and choose the appropriate proxy settings. Previously the SoupAddress
protocol was left unset, so soup_address_connectable_proxy_enumerate()
assumed "http".
https://bugzilla.gnome.org/show_bug.cgi?id=724316
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Import glib-tap.mk to run the tests in TAP mode, and to provide rules
to install the tests.
This required some restructuring of httpd.conf-related stuff in order
to come up with a configuration that would work for all three cases
(srcdir==buildir, srcdir!=builddir, and installed).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add the files in resources/ to soup-test.gresource, and add
soup_test_load_resource() to get the contents of one of them, and then
use this in places that were previously reading them by hand.
Except forms-test, which needs to pass a filename to curl, so have it
use index.txt instead of one of the resource files.
Now none of the tests access the resources/ directory at runtime.
Also add soup_test_get_index() to read index.txt rather than
reimplementing it in multiple test programs.
|
| |
| |
| |
| |
| | |
Some programs need to be split up into more tests, and the debug
output is mostly not updated for the new format.
|
| | |
|
| |
| |
| |
| | |
https://bugzilla.gnome.org/show_bug.cgi?id=722341
|
| |
| |
| |
| | |
https://bugzilla.gnome.org/show_bug.cgi?id=722341
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some of the tests depend in various ways on the fact that they are not
going through a proxy, so make sure they really aren't (by forcing the
use of the dummy GProxyResolver). Likewise, pass "--noproxy *" to curl
in the tests that use it, to make sure it doesn't pick up $http_proxy,
etc.
Pointed out by Dirkjan Ochtman on IRC.
|
| |
| |
| |
| | |
startup error checking was busted, making this not even work
|
| |
| |
| |
| |
| |
| |
| |
| | |
It's inconvenient for callers to have to ensure that the hostname they
pass in is UTF-8 (since they themselves may not need to care). So
accept ASCII-encoded hostnames too, and add the corresponding punycode
tests from the publicsuffix.org test list that we were ignoring
before.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The old SoupSocket did this but it accidentally got removed in the
GSocket port because I thought it didn't matter. It does.
Noticed by Andy Wingo.
|
| |
| |
| |
| |
| |
| |
| | |
Fix up a couple of errors picked up by -Werror=format-nonliteral on
clang.
https://bugzilla.gnome.org/show_bug.cgi?id=720082
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This was assuming that setting "ssl-use-system-ca-file" would fail
when using the dummy TLS backend, but the fact that it failed was just
a side effect of the fact that GDummyTlsBackend returned a different
GTlsDatabase every time you called
g_tls_backend_get_default_database(). Now that that's fixed, setting
"ssl-use-system-ca-file" does appear to work.
Of course, SSL won't work at all with the dummy backend, so it doesn't
really matter whether setting this property works or not, so just
remove that part of the test, so this will pass with either old or new
glib.
|
| |
| |
| |
| |
| |
| |
| | |
Make it easier to use the request and response bodies from
introspection by providing accessors to get them as GBytes.
https://bugzilla.gnome.org/show_bug.cgi?id=704105
|
| |
| |
| |
| |
| |
| | |
do_property_tests() apparently didn't work with the dummy TLS backend,
half because of a glib bug, and half because of a session-test bug.
This fixes the session-test bug; the glib bug is fixed in glib master.
|