summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * soup-message: minor fixups to soup_message_set_request/response_body()Dan Winship2013-11-171-4/+11
| | | | | | | | | | | | | | g_warn_if_fail() if the Content-Type is invalid, and impove the annotations. https://bugzilla.gnome.org/show_bug.cgi?id=686766
| * soup-server: clarify soup_server_[un]pause_message() documentationPhilip Withnall2013-11-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | If a SoupMessage which hasn’t yet started to be received is passed into soup_server_[un]pause_message(), an assertion will fail in soup-message-io.c because the message doesn’t yet have any I/O data. Document that passing such SoupMessages into those methods is naughty and shouldn’t be done. https://bugzilla.gnome.org/show_bug.cgi?id=710602
| * test-utils: bump up debug_level when running under "make check"Dan Winship2013-11-101-0/+3
| | | | | | | | | | | | | | | | | | Since automake's "make check" rule now logs the output of tests to a log file, we might as well use maximum debugging, so that if something fails, we have plenty of explanation why. (We still parallelize parallelizable tests by default though, meaning the output is not especially useful for those ones.)
| * Fix SoupClientInputStream close on errorDan Winship2013-11-043-16/+72
| | | | | | | | | | | | | | | | | | | | g_input/output_stream_close() always mark their stream closed, even on error, even if their cancellable is pre-cancelled. That means we have to guarantee that soup_message_io_finished() gets called when a SoupClientInputStream is closed, even if an error occurs while closing. https://bugzilla.gnome.org/show_bug.cgi?id=711260
| * soup-session: update a comment for current realityDan Winship2013-11-041-3/+3
| |
| * requester-test: reorganize to be more like other testsDan Winship2013-11-041-84/+108
| |
| * socket: Don't leak GTasksChristophe Fergeau2013-11-041-0/+3
| | | | | | | | | | | | | | | | GTask needs to be unreffed after calling g_task_return_* when we don't use async methods which take ownership of it (as g_task_run_in_thread() does). https://bugzilla.gnome.org/show_bug.cgi?id=711085
| * Don't leak g_get_current_dir() resultChristophe Fergeau2013-11-041-0/+1
| | | | | | | | | | | | | | glib API documentation indicates: « The returned string should be freed when no longer needed. » https://bugzilla.gnome.org/show_bug.cgi?id=711085
| * tests/connection-test: Ensure quit source id is reset to 0 between runsColin Walters2013-11-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | Otherwise we may attempt to remove a nonexistent quit loop from the previous one. The second hunk here is the real fix, the first is just being more defensive/consistent. Reported-By: Kjartan Maraas <kmaraas@gnome.org> Tested-By: Kjartan Maraas <kmaraas@gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=711361
| * Fix 'return with no value' warningFabiano Fidêncio2013-10-221-1/+1
| |
| * SoupSession: propagate GErrors to callersDan Winship2013-10-194-14/+27
| | | | | | | | | | | | When using soup_session_send() or soup_session_send_async(), propagate underlying GErrors to the caller, rather than constructing fake SOUP_HTTP_ERROR errors.
| * SoupConnection: make methods gio-likeDan Winship2013-10-195-251/+374
| | | | | | | | | | | | | | Port the SoupConnection methods to be gio-like, using GAsyncReadyCallback for the async ones, and returning GErrors rather than libsoup status codes. Add internal-gio-like SoupSocket connect methods for the SoupConnection methods to use.
| * SoupSocket: make handshaking methods gio-likeDan Winship2013-10-193-153/+170
| | | | | | | | and update SoupConnection to use them
| * soup-message-io: fix early SoupClientInputStream close caseDan Winship2013-10-191-1/+1
| | | | | | | | | | | | | | | | When closing the stream early, we should be skipping the read state ahead to FINISHING, rather than BODY_DONE, so that got_body doesn't get emitted (thus causing the connection to mark itself reusable). https://bugzilla.gnome.org/show_bug.cgi?id=710494
| * soup-auth-ntlm: fix build with --without-ntlm-authDan Winship2013-10-171-0/+4
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=710267
| * soup-logger: fix -Wformat-nonliteral warnings in clangDan Winship2013-10-172-1/+5
| |
| * Post-branch release bump to 2.45.0Dan Winship2013-10-151-2/+2
| |
| * 2.44.12.44.1Dan Winship2013-10-152-1/+43
| |
| * soup-uri: minor code reorg/renamingDan Winship2013-10-103-14/+18
| | | | | | | | | | | | | | | | | | | | | | Change uri_decoded_copy() to strdup the input string *after* doing its g_return_val_if_fail(), to avoid pointlessly confusing code analyzers. Also, rename the function to soup_uri_decoded_copy(), since it's used from soup-request-data.c too and it's been annoying me that it was non-namespaced. https://bugzilla.gnome.org/show_bug.cgi?id=709793
| * Tajik translation updatedVictor Ibragimov2013-10-101-32/+32
| |
| * tests: fix another test broken by the SoupClientInputStream close changeDan Winship2013-10-081-0/+10
| | | | | | | | | | | | One of connection-test's tests was failing (but only sporadically) because it closed the stream without reading it, causing the stream to be disconnected, while it was expecting the connection to stay open.
| * SoupServer: check only for tls-certificate to know if a server is running ↵Fabiano Fidêncio2013-10-081-2/+3
| | | | | | | | | | | | | | | | | | plain http or https We can check only for "tls-certificate", once it's set whether "ssl-cert-file" and "ssl-key-file" are set. https://bugzilla.gnome.org/show_bug.cgi?id=709647
| * soup-session: don't resolve default proxy-resolver/tlsdb if not neededDan Winship2013-09-292-10/+182
| | | | | | | | | | | | | | | | If the user overrides the proxy or TLS configuration of a session at construct time, we should avoid ever trying to resolve the default extensions. https://bugzilla.gnome.org/show_bug.cgi?id=708696
| * Fix soup_client_input_stream_close to not blockDan Winship2013-09-297-7/+163
| | | | | | | | | | | | | | | | | | | | Closing a SoupClientInputStream for a message that hadn't been completely read was trying to read to the end of the message first. Fix it to just cancel the read instead. Also fix a few tests that were implicitly assuming the old behavior. https://bugzilla.gnome.org/show_bug.cgi?id=695652
| * test-utils: set GSETTINGS_BACKEND=memoryDan Winship2013-09-291-0/+1
| | | | | | | | | | To ensure we don't get unwanted proxy settings, and so we don't get warnings if the memory backend is the only one available.
| * Fix asynchronicity of soup_session_queue_message() on plain SoupSessionDan Winship2013-09-285-44/+57
| | | | | | | | | | | | | | | | | | Messages sent via soup_session_queue_message() on a plain SoupSession accidentally ended up using blocking I/O. Fix this (and also make switching between sync and async ops during a streaming operation work better). https://bugzilla.gnome.org/show_bug.cgi?id=707711
| * append_form_encoded: sync urlencode with php RFC1738 implementation.Alban Browaeys2013-09-241-1/+2
| | | | | | | | | | | | | | From php_url_encode: /* Allow only alphanumeric chars and '_', '-', '.'; escape the rest */ https://bugzilla.gnome.org/show_bug.cgi?id=708621
| * 2.44.02.44.0Dan Winship2013-09-232-4/+9
| |
| * Updated Indonesian translationDirgita2013-09-191-20/+45
| |
| * Initial Dutch translationReinout van Schouwen2013-09-182-0/+110
| |
| * 2.43.92LIBSOUP_2_43_922.43.92Dan Winship2013-09-162-1/+31
| |
| * Bug 703186 - fallback from automatic NTLM auth not workingDavid Woodhouse2013-09-131-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two issues. Firstly, when the automatic NTLM authentication failed we were setting conn->state to SOUP_NTLM_FAILED. So although we would emit the 'authenticate' signal and obtain a password, we'd never actually *try* it. We have the SOUP_NTLM_SSO_FAILED state for this, which makes it work. Secondly, the resulting 'authenticate' signal we being emitted with the 'retrying' property set, even when it was the first time we actually asked for a password. This was confusing Evolution (bug 703181 comments 1-3). Fix the latter problem by making soup_auth_ntlm_is_connection_ready() return TRUE when the state is SOUP_NTLM_SSO_FAILED. That makes auth_got_headers() do the right thing, and Evolution is happy again. With this fixed, Evolution will now automatically try to connect to an Exchange server using automatic NTLM authentication, and will fall back to asking for a password only if it actually needs to.
| * Bug 708006 - libsoup fails to close connection when message cancelledDavid Woodhouse2013-09-131-0/+3
| | | | | | | | | | | | | | We need to clear priv->reusable when we send a request, *even* if we're only resending a request that was already tried once (as with NTLM authentication). Otherwise, cancellation of the pending, restarted, request will not properly close the connection as it should.
| * cache-test: fix some minor things pointed out by coverityDan Winship2013-09-111-2/+2
| |
| * timeout-test: fix on very slow machinesDan Winship2013-08-301-14/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On slow old machines, the TLS handshake when making an https request can take longer than 1 second, which meant that even the "fast" https requests were hitting the 1-second timeout and failing. Fix this by making the timeouts longer. However, we don't want to do that unless absolutely necessary, since the test has to hit this timeout multiple times, and the test already takes 10 seconds to run with the 1-second timeout. So check how long it takes to make a single https request, and only slow down the rest of the tests if it looks like it will be needed. Also fix an unrelated bug, where the "session did/didn't close connection" check could fail if the same memory location got used for the first and second sockets. https://bugzilla.gnome.org/show_bug.cgi?id=660581
| * chunk-io-test: fix a bugDan Winship2013-08-271-1/+1
| |
| * SoupServer: add :http-aliases and :https-aliases propertiesDan Winship2013-08-267-55/+298
| | | | | | | | | | | | | | | | | | Add :http-aliases and :https-aliases properties to SoupServer, to allow it to handle requests like: GET daap://host:port/path HTTP/1.1 https://bugzilla.gnome.org/show_bug.cgi?id=703694
| * server-test: split SoupServer-specific tests out of misc-testDan Winship2013-08-263-209/+252
| |
| * chunk-io-test: new test of the chunked I/O read/write streamsDan Winship2013-08-252-0/+655
| |
| * soup-filter-input-stream: fix read_until() with subclassesDan Winship2013-08-251-5/+12
| | | | | | | | | | | | If doing a read_line()/read_until() in a subclass, we need to use the subclass's read implementation rather than just going directly to the base stream.
| * soup-body-output-stream: fix closing of chunked streamDan Winship2013-08-251-1/+2
| | | | | | | | | | | | | | | | When closing a chunked stream, we need to write the final 0-length chunk. However, we can only do that if we successfully wrote the previous chunk. https://bugzilla.gnome.org/show_bug.cgi?id=703297
| * soup_cookie_new: clarify the interpretation of @domainDan Winship2013-08-251-0/+4
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=691840
| * Also copy disabled features when copying messages.Andre Moreira Magalhaes (andrunko)2013-08-251-0/+7
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=706338
| * cache-test: fix race conditionDan Winship2013-08-231-9/+20
| | | | | | | | | | | | | | The refcounting test had a race condition. Fix it by just waiting for the stream to be destroyed, rather than asserting it already has been. https://bugzilla.gnome.org/show_bug.cgi?id=698305
| * 2.43.90LIBSOUP_2_43_902.43.90Dan Winship2013-08-192-1/+12
| |
| * More IPv6 scope ID fixesDan Winship2013-08-193-4/+27
| | | | | | | | | | | | | | Don't include the scope ID in the "Host" header. Make SoupURI correctly parse both correct and incorrect scope IDs, and add checks for that in tests/uri-parsing.
| * soup-address: fix a GMainContext bugDan Winship2013-08-191-63/+48
| | | | | | | | | | | | | | | | | | | | | | SoupAddress's GSocketAddressEnumerator implementation was passing the wrong GMainContext to soup_address_resolve_async(), although it only ended up affecting the address-is-already-resolved case. Fix this. Also, remove the async_lookups list from SoupAddressPrivate, and just make multiple calls to the resolver if there are multiple calls to soup_address_resolve_async() at once, since that code didn't handle different GMainContexts correctly.
| * soup-address: handle IPv6 literals with scope IDsDan Winship2013-08-191-0/+60
| | | | | | | | | | | | | | Use GNetworkAddress to try to parse IPv6 addresses with scope IDs, rather than just letting the scope ID get dropped. Part of https://bugzilla.gnome.org/show_bug.cgi?id=669724
| * soup-message-headers: clarify that SoupServer has built-in Range handlingDan Winship2013-08-191-0/+22
| |
| * get: fix to not send the request twiceDan Winship2013-08-181-3/+2
| |