| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
| |
Add functions to connect to a remote host, possibly via an HTTP proxy.
Based on a patch from Dirkjan Ochtman.
https://bugzilla.gnome.org/show_bug.cgi?id=721343
|
| |
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=730779
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
was pushed
Based on a patch by Dmitry Shatrov <shatrov@gmail.com>, see
http://mail.gnome.org/archives/libsoup-list/2011-November/msg00000.html
https://bugzilla.gnome.org/show_bug.cgi?id=729737
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This can be used by applications to do client-side certificates via
the new g_tls_interaction_request_certificate(). Will be used by
OSTree at least.
Also add a test to tls-test.
Based on a patch from Colin Walters.
https://bugzilla.gnome.org/show_bug.cgi?id=334021
|
| |
|
|
|
|
|
|
|
| |
soup_session_abort()'s docs claim that it closes "all idle persistent
connections", but it was actually trying to close *all* connections,
including ones that were being actively used in other threads. Fix
that.
https://bugzilla.redhat.com/show_bug.cgi?id=1093314
|
| |\
| |
| |
| |
| |
| | |
https://bugzilla.gnome.org/show_bug.cgi?id=522519
https://bugzilla.gnome.org/show_bug.cgi?id=561547
https://bugzilla.gnome.org/show_bug.cgi?id=621138
|
| | | |
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
| |
Add new APIs to SoupServer, allowing multiple listening sockets on a
server, and listening on an existing fd or GSocket, and with better
error handling.
https://bugzilla.gnome.org/show_bug.cgi?id=522519
https://bugzilla.gnome.org/show_bug.cgi?id=561547
https://bugzilla.gnome.org/show_bug.cgi?id=621138
|
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
https://bugzilla.gnome.org/show_bug.cgi?id=721343
|
| | |
| |
| |
| |
| |
| | |
There are a large number of SoupSession properties that need to be
propagated through the SoupConnection to the SoupSocket. Wrap them all
up into a single struct for ease of carrying.
|
| |/
|
|
|
| |
SoupSocket-related stuff made up more than half of
soup-misc-private.h. Split it out into its own header.
|
| |
|
|
|
|
| |
Let the callback know whether I/O completed on the message, and move
the server-side "disconnect on I/O error" code from soup-message-io to
soup-server.
|
| |
|
|
|
| |
SoupMessageQueueItem's priority field is not private to
soup-message-queue.c.
|
| |
|
|
|
|
|
| |
In the normal case, SoupSession will do it itself, and in other cases
it might not be wanted.
https://bugzilla.gnome.org/show_bug.cgi?id=721343
|
| |
|
|
|
|
|
| |
Store all SoupSessionHosts with a URI using either "http" or "https"
as the scheme. Then we don't need to explicitly tell SoupConnection
whether the connection is SSL or not, since it can figure it out from
the URI.
|
| | |
|
| |
|
|
|
| |
A memory leak would happen when asked to delete a matching cookie from
a cookie jar that doesn't contain any matching cookies.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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
|