1 Changes in libsoup from 2.35.5 to 2.35.90:
3 * Added SOUP_MESSAGE_CAN_REBUILD flag, to use with
4 soup_message_body_set_accumulate(FALSE) on a request body,
5 to indicate that the caller will recreate the request body
6 after it has been discarded if the message needs to be
9 * Fixed the build on mingw-w64 by not using "interface" as
10 as variable name. [#656402, Erik van Pienbroek]
12 * (The multihosted https server regression mentioned in the
13 2.35.5 NEWS turned out to be a glib-networking bug, which is
16 Changes in libsoup from 2.35.4 to 2.35.5:
18 * Support NTLM single sign on via samba's /usr/bin/ntlm_auth.
19 [#650940, Mandy Wu]. This is enabled by default (if NTLM is
20 enabled for the session and the ntlm_auth binary is
21 available), but will fall back to the standard
22 password-based authentication if SSO fails.
24 * Default to TLS+extensions for https connections, falling
25 back to SSLv3-without-extensions (the old default) only if
26 the server fails to negotiate TLS. [#581342]
28 * As a result of this change, some users are currently
29 seeing problems with sites that serve multiple https
30 hosts from a single IP address (eg,
31 *.launchpad.net). There is no known workaround at
34 * Fixed a longstanding problem with https pages sometimes not
35 loading when using a proxy. [#631368, based on patches from
36 DongJae Kim and Thierry Reding]
38 * SoupContentSniffer: don't use gio's sniffing rules, since
39 the spec now recommends that browsers not do any additional
40 sniffing beyond what's in the spec. [#648846, "arno"]
42 * Fixed SoupRequestHTTP to work properly with alternate
43 GMainContexts. [#653707]
45 * Added some annotations from Vala's vapi files. [#655397,
46 Evan Nemerson]. Also, removed SoupProxyResolver from the
47 gir/typelib, since it had been deprecated since before
48 introspection was available, and it was being scanned wrong
51 Changes in libsoup from 2.35.3 to 2.35.4:
53 * CVE-2011-2524: Fixed a security hole that caused some
54 SoupServer users to unintentionally allow accessing the
55 entire local filesystem when they thought they were only
56 providing access to a single directory. [#653258]
58 * Plugged another SoupCache memory leak [Xan]
60 * Simplified SoupCache keys, and handle collisions. [#649963,
63 * Annotate SoupSession:add-feature, etc, as (skip), so they
64 don't conflict with the methods of the same name. [#655150,
67 Changes in libsoup from 2.34.1 to 2.35.3:
69 * SoupCache fixes [Sergio]:
71 * Don't store hop-by-hop headers [#650094]
73 * Fix status code and headers of responses returned
74 from the cache after being revalidated [#649965]
76 * Added versioning support to the cache file format
77 [#652554] and extended it to keep track of the
80 * Fixed storage of time values in the cache [#653349]
82 * Fixed a use-after-free that could result in bogus
83 data being written to the cache [#650620]
85 * Various leaks [#649309]
87 * Work around an Apache bug where it tells browsers to
88 automatically decode .gz files but still keep the .gz in the
91 * Fixed an overflow when sending a response larger than 2^31
92 bytes (eg, streaming movies in Rygel). [#638468, Jens Georg]
94 * Always send the Keep-Alive header, not just to hosts we
95 already know to be HTTP/1.0 [#648680, Sergio]
97 * Fixed various leaks [#652699, Sergio], [#651643, Milan],
100 * Minor build fix for Debian/Ubuntu [#648948]
104 Changes in libsoup from 2.34.0 to 2.34.1:
106 * Two multipart forms/Content-Disposition fixes [Dan]:
108 * UTF-8-encoded header encoding/decoding rules updated
109 to match RFC 5987. In particular, a UTF-8-encoded
110 filename parameter in Content-Disposition will now
111 override an ASCII one.
113 * When not using UTF-8-encoded filenames in
114 Content-Disposition, always quote the filename,
115 since some servers erroneously fail to handle
116 non-quoted ones. [#641280]
118 * Fixed several memory leaks [Dan, Xan]
120 * Fixed decoding base64 data: URLs [#646896, Sergio]
122 * Simplified the libsoup-gnome build on Windows by dropping
123 the gnome-keyring dependency. [Fridrich Štrba]
125 * Fixed a bug in soup_uri_to_string() in which (invalid) port
126 numbers could be output as negative numbers (tripping up a
127 WebKit "sanity checking" test). [#647767, Sergio]
129 * Fixed a cache corruption bug in SoupCache. [#648285, Sergio]
131 * Fixed a crash in SoupSessionSync when using
132 soup_session_abort().
134 Changes in libsoup from 2.33.92 to 2.34.0:
136 * Fixed the GMainContext handling of the new
137 SoupProxyResolverDefault (which among other things fixes
138 gstreamer usage inside epiphany). [#646201, Sebastian Dröge]
140 * Tweaked the introspection Makefile rules to fix a problem
141 building on Debian/Ubuntu. [#645505]
143 * Belated bumped the shared library versioning to reflect the
144 API additions since 2.32.0
146 Changes in libsoup from 2.33.90 to 2.33.92:
148 * LIBSOUP NO LONGER DEPENDS ON GCONF OR LIBPROXY.
151 * Added SoupProxyResolverDefault, which uses uses gio's
152 GProxyResolver to resolve proxies [#642982, Gustavo Noronha
153 Silva]. Despite the "default" in the name, it is not used by
154 default, for compatibility reasons, but it is available in
155 plain libsoup, not libsoup-gnome. (Of course, it depends on
156 having glib-networking installed.)
158 * Updated SoupProxyResolverGNOME to be based on
159 SoupProxyResolverDefault, but explicitly requesting the
160 "gnome" GProxyResolver if it is available [#625898], and
161 removed the old code that used GConf and libproxy directly.
163 * Added soup_server_disconnect(), to explicitly disconnect a
164 SoupServer, since it is not possible to g_object_unref() it
165 from memory-managed language bindings. [#638576, Andreas
168 * SoupDate now parses month names case-insensitively [#644048,
171 * Avoid a g_return_if_fail() when using
172 SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY with non-http URIs
173 (file:, data:, etc). [#643226]
175 * SoupCookieJar now catches overflows when parsing very
176 distant dates [#643462, based on a patch from Mark
179 * Fixed a buggy interaction between request body streaming and
180 restarted requests [David Woodhouse]. Added some new tests
181 to tests/chunk-test.c to make sure that a specific
182 (unsupported!) way of using those methods would not get
183 broken in the future.
185 * Fixed soup_socket_get_remote_address(), which had been
186 broken since 2.33.4 (and which in turn caused
187 soup_client_context_get_address/_get_host to be broken).
190 Changes in libsoup from 2.33.6 to 2.33.90:
192 * Attempted to make libsoup's dependency on glib-networking
193 (for TLS support) more explicit, by requiring that
194 glib-networking be present at compile time unless the
195 builder explicitly passes "--disable-tls-check", and noting
196 that packagers should give libsoup a runtime dependency on
199 * Fixed a bug in talking to servers with virtual hosts with
200 Unicode names (IDNs) [#642075]
202 * Added a "Connection: Keep-Alive" header when talking to
203 HTTP/1.0 hosts, to improve performance. [#640414, Sergio
206 * Changed SoupCache to not cache multipart/x-mixed-replace
207 content. [#642028, Sergio Villar Senin]
209 Changes in libsoup from 2.33.5 to 2.33.6:
211 * Made SoupSessionAsync do idle-connection cleanup more
212 sanely, resulting in faster load times for pages with lots
213 of subresources. [#639768, Sergio Villar Senin]
215 * Fixed soup_form_decode()'s behavior (and by extension,
216 SoupServer query string handling) with datasets that contain
217 multiple values for the same key, and added a test case.
218 [#639783, Sven Neumann]
220 * Fixed warnings pointed out by gcc 4.6, including a bug in
221 SoupCache that would cause unnecessary revalidations
224 * Belated copied a fix from the WebKit copy of soup-cache.c
225 into ours, and fixed a bug in the local copy of
226 soup-request-data.c [#641022, Sergio Villar Senin], in
227 preparation for making WebKit use the libsoup versions.
229 Changes in libsoup from 2.33.4 to 2.33.5:
231 * Fixed certain cases of soup_session_cancel_message() with
232 SoupSessionSync that could previously cause warnings or
235 Changes in libsoup from 2.32.2 to 2.33.4:
237 * SoupSocket now uses GSocketConnection and GTlsConnection
238 internally rather than making socket calls directly and
239 using GIOStream, and TLS is handled via glib's APIs rather
240 than using gnutls directly.
242 * The gzip Content-Encoding handler is now implemented using
245 * As a result of the above two changes, libsoup no longer
246 directly depends on gnutls, libgcrypt, or zlib, though it
247 still indirectly depends on zlib via glib and libxml2. Also,
248 although libsoup does not depend on glib-networking as a
249 build-time dependency, some "make check" tests will be
250 skipped if it is not installed.
252 * The SoupRequest/SoupCache code from WebKit has been
253 imported, but it is not yet recommended for general use, and
254 is not necessarily API stable. [#523100, Sergio Villar, with
255 the SoupRequest parts based on the Summer of Code work by
256 Gabriel Corvalan and the cache parts based on an earlier
259 * Added SoupMessage:tls-certificate and
260 SoupMessage:tls-errors, which give more information about
261 the certificate used to authenticate a TLS connection.
263 * It is now possible to disable Basic or Digest auth in a
264 session by using soup_session_remove_feature_by_type() with
265 SOUP_TYPE_AUTH_BASIC or SOUP_TYPE_AUTH_DIGEST. Likewise, the
266 right way to enable NTLM support now is to call
267 soup_session_add_feature_by_type() with SOUP_TYPE_AUTH_NTLM;
268 SOUP_SESSION_USE_NTLM is now deprecated.
270 * Allow setting cookies on file:// URIs, since other browsers
271 do, and WebKit has a test for it. [#603825]
273 * .gir/.typelib files now include C header/library information
274 (needed by vala and some other bindings) [#635395, Evan
277 * Added annotations on soup_message_headers_get_content_type()
278 [Lucas Rocha] and SoupHTTPVersion [John Palmieri]
280 * Fixed a Set-Cookie processing leak [#636741, Jonathan
283 Changes in libsoup from 2.32.1 to 2.32.2:
285 * Fixed a regression in 2.32.0 that caused evolution-exchange
286 to get stuck and stop updating. [#634422]
288 * Fixed a regression in 2.32.0 with apps using asynchronous
289 sessions from multiple threads (in particular, gupnp)
292 * Fixed the regression test for #631525 to not cause spurious
293 "make check" failures on some machines.
295 Changes in libsoup from 2.32.0 to 2.32.1:
297 * Fixed a regression in 2.32.0 with the use of persistent
298 connections that caused spurious "Connection terminated
299 unexpectedly" errors. [#631525, debugged by Sergio Villar]
301 * Fixed a regression in 2.32.0 that caused proxy-related
302 DNS errors to return SOUP_STATUS_CANT_RESOLVE rather than
303 SOUP_STATUS_CANT_RESOLVE_PROXY.
305 * Usernames/passwords specified explicitly in request URIs now
306 override existing cached auth info. [#631679, Sergio Villar]
308 * Changed soup_uri_decode() and soup_uri_normalize() to just
309 ignore malformed %-encoding rather than returning NULL,
310 for consistency with soup_uri_new(). [#630540]
312 * Fixed soup_form_decode() to ignore invalid parameters,
313 and soup_form_encode_hash() to just g_return_if_fail()
314 rather than crashing if there are NULL values in the
317 * Added another workaround for stupid servers that close the
318 connection before returning the full response (in this case,
319 when using chunked encoding and failing to include the
320 final 0-length chunk). [#629160]
322 * Fixed a bug in SoupCookieJarText that deleted excess cookies
323 whenever any cookie expired. [#631641, Michał Kazior]
325 * Fixed a small leak in SoupContentDecoder if you were using
326 it incorrectly. [pointed out in email by Christophe
329 * Added regression tests for passwords-in-URIs [#631679,
330 Sergio Villar] and SOUP_SESSION_IDLE_TIMEOUT.
332 Changes in libsoup from 2.31.92 to 2.32.0:
334 * (No changes, just a version bump)
336 Changes in libsoup from 2.31.90 to 2.31.92:
338 * Updated for gobject-introspection 0.9.5. Also added some new
339 annotations and removed a bunch of private headers from the
342 * Percent-encoded characters in URIs are no longer
343 automatically normalized to uppercase, since apparently some
344 servers are stupid. [#628728, Sergio Villar Senin]
346 * Fixed a crash when resolving a URI containing both spaces
347 and non-UTF8 8bit characters. [#629449]
349 Changes in libsoup from 2.31.2 to 2.31.90:
351 * libsoup now tries to connect to each IP address associated
352 with a hostname, if the first one fails. In particular, if a
353 host has both IPv4 and IPv6 addresses, and only one of them
354 is reachable from the current host, libsoup will now try the
355 other one rather than failing. (libc is supposed to sort the
356 IP addresses in the right order, such that, eg, if you don't
357 have IPv6 connectivity, it will put the IPv4 address first.
358 For some reason though, this seems to be broken on some
361 * Fixed Accept-Language header generation in locales where ","
362 is used as the decimal point.
364 Changes in libsoup from 2.31.2 to 2.31.6:
366 * Disabled TLS 1.2 in addition to the already-disabled 1.1 and
367 1.0 [see below, in libsoup 2.27.2], thus making libsoup
368 usable with gnutls 2.10. [#622857. This commit, 01a43ad9,
369 can be applied to libsoup 2.30.x as well if you need that
370 release to work with gnutls 2.10.]
372 * When using libproxy 0.3 or newer, libsoup no longer leaks
373 proxy-related environment variables into child processes
376 * Changed the way message/connection binding works in
377 SoupSession so that (among other things), when there are
378 multiple requests queued to a host, and one of them gets a
379 network error, the other requests are still allowed to try
380 to succeed, rather than all failing immediately. [#619633]
382 * SoupSession now limits the number of times a message can be
383 redirected, to avoid infinite loops [#604383, José Millán
386 * Fixed handling of certain messages where the response
387 headers included "Connection: close" but the server did not
388 actually close the connection at the end. [#611481]
390 * Fixed some incorrect g-i annotations [#621021]
392 * Fixed an out-of-bounds memory access when processing certain
393 Set-Cookie headers [#620288]
395 * Improved msg->reason_phrase on network errors [#623274]
397 * Fixed gir file disting [#621727, Yaakov Selkowitz]
399 Changes in libsoup from 2.30.1 to 2.31.2:
401 * gobject-introspection has now been merged in. Use
402 --enable-introspection to build. [#576595, Andreas Rottmann]
403 Note that the introspected API is not yet stable, and in
404 particular, there are numerous values annotated as "utf8"
405 which are actually not guaranteed to be utf8. (Eg, most
408 * Added some helper functions for bindings:
409 soup_buffer_new_take(),
410 soup_message_body_append_take(), and
411 soup_buffer_get_data(). [#576595, Andreas Rottmann]
413 * Also added properties for several SoupMessage public
414 fields, and getter methods for various boxed types
415 (SoupCookie, SoupDate, SoupURI).
417 * Added some additional hash-table annotations.
418 [#619086, Gustavo Noronha Silva]
420 * Marked SoupSession abstract. [#617216, Lorenzo Gil, the
421 first bug filed by someone trying to use libsoup via
422 introspection!] Likewise for SoupAuth and SoupAuthDomain.
424 * Fixed a problem with SoupSessionAsync that would cause
425 messages to get lost if you aborted a previous message while
426 it was still looking up the hostname. Fixed several other
427 problems that were discovered while adding a regression test
428 for that. [#618641, thanks to Claudio Saavedra for a good
431 * Fixed another connecting-to-lame-http-server problem, and a
432 getting-stuck-in-a-loop-reconnecting bug that it revealed.
435 Changes in libsoup from 2.30.0 to 2.30.1:
437 * Fix for https through proxies that close the connection when
438 returning a "407 Proxy Authentication Required" response,
439 and add a regression test for that case. [#611663]
441 * Fixed multiple forms/multipart-related interoperability
442 problems reported by Egon Andersen:
444 * Don't quote the multipart boundary string if it's
445 not needed, since RFC 2616 recommends that you
446 don't, and some servers don't handle quotes there
447 correctly. (Sigh.) [#614176]
449 * Don't put an extra blank line before the first
450 multipart part, since it's unnecessary and some
451 servers don't handle a multipart preamble correctly.
454 * Don't put Content-Transfer-Encoding headers in the
455 multipart/form-data parts, even though the HTML 4
456 spec says you must, since no other browsers do, and
457 some servers don't handle them correctly. (Sigh.)
460 * Changed SoupCookieJarSqlite to actually erase deleted
461 cookies from the database. [#615711, Lukasz Slachciak]
463 * Fixed SoupLogger to be more robust against getting passed
464 bad data by the session. [#611663]
466 * Fixed SoupAuthDomain to ignore paths when doing proxy auth
468 * Fixed a g_warning when hovering over a javascript link in
469 WebKit. [#613442, Xan Lopez]
471 Changes in libsoup from 2.29.91 to 2.30.0:
473 * Fixed a crash in the whitespace-stripping code in
474 soup_uri_new() [#612644, "arnaud.lb"]
476 * Update content-sniffing algorithm to match Chrome and the
477 soon-to-be-updated sniffing spec. [#611502, Gustavo Noronha
480 * We now handle "Content-Encoding: x-gzip" as well as "gzip"
481 (even though "x-gzip" has been deprecated for more than 10
484 * Fixed leaks found by valgrind
486 * Make the "make check" programs only bind to 127.0.0.1, not
487 any public network interfaces. [#609489, Saleem Absulrasool]
489 * Add a test to sniffing-test to make sure that Content-Type
490 parameters are preserved correctly. [Gustavo Noronha Silva]
492 Changes in libsoup from 2.29.90 to 2.29.91:
494 * Added SOUP_SESSION_SSL_STRICT and
495 SOUP_MESSAGE_CERTIFICATE_TRUSTED, to allow callers to
496 determine if an https response comes from a server with a
497 recognized/valid or unrecognized/invalid certificate.
498 [#610374, Gustavo Noronha Silva]
500 * Fixed handling of certain badly-formatted URIs [#590524]
502 Changes in libsoup from 2.29.6 to 2.29.90:
504 * Added soup_cookie_jar_set_accept_policy() and related API
505 for implementing cookie acceptance policies. [#608353, Xan
508 * Fixed the "request-read" signal in SoupServer to actually be
511 Changes in libsoup from 2.29.5 to 2.29.6:
513 * Fixed SoupContentDecoder to ignore trailing junk after the
514 encoded message body (as other browsers do), rather than
515 getting stuck in an infinite loop. [#606352]
517 * Fixed an invalid read in soup_cookie_applies_to_uri()
518 [#607024, pointed out by Xan]
520 * Fixed linking on OS X [#606959]
522 * Removed a harmless warning in SoupServer. [#606645]
524 Changes in libsoup from 2.29.3 to 2.29.5:
526 * Added SoupContentDecoder, providing support for
527 Content-Encoding: gzip for WebKitGTK. [#522772]
529 * Added "accept-language" and "accept-language-auto"
530 properties to SoupSession, to support the Accept-Language
531 header. [#597004, Mario Sanchez Prada]
533 * Fixed a bug in SoupPasswordManagerGNOME that could cause
534 crashes if you typed the wrong password once and then tried
535 again. [#595554, debugged by Gustavo Noronha Silva]
537 * Fixed a crash in SoupAuthDigest if the server claims support
538 for both qop=auth and qop=auth-int. (This was not noticed
539 sooner because no one actually supports qop=auth-int, and
540 the server in question here was probably confused. :)
542 * Updated cookie parsing/output to more closely match
543 draft-ietf-httpstate-cookie-00. [Also fixes #603496 (WebKit
544 unit test), and #604794 (hang parsing malformed Set-Cookie
547 * Fixed https-via-proxy to not hang if there is an error
548 communicating with the proxy immediately after the TLS
549 negotiation. [#587528]
551 * Fixed a bug that broke gobject-introspection's introspection
552 of libsoup. [#603696, Vincent Untz]
554 * Handle spurious CR/LFs between responses. [#602863,
555 Alexander V. Butenko]
557 * Fixed soup-message-client-io to not erroneously include URI
558 fragments on the Request-Line when sending via a proxy.
559 [Related to WebKit bug #28687]
561 * Fixed Digest authentication against certain (buggy?)
562 clients/servers that require you to use quotes in exactly the
563 same places where the spec uses them. [#582219]
565 * Fix ugly gtype-related hack to work with the latest unstable
566 glib. [Benjamin Otte]
568 Changes in libsoup from 2.28.1 to 2.29.3:
570 * Fixed a crash in SoupCookieJarSqlite when using cookie
571 databases not created by libsoup (eg, upgraded epiphany
572 installations). [Patch from Emilio Pozuelo Monfort]
574 * Fixed SoupCookieJar to handle non-http URIs properly (so
575 that, eg, JavaScript bookmarklets that try to set/read
576 cookies won't cause crashes). [#602498]
578 * HEAD requests that receive a "303 See Other" response will
579 now do a HEAD, not a GET, on the redirected-to resource.
580 Fixes gvfs access to some sites, including certain
581 youtube.com URIs. [#600830]
583 * Fixed a g_warning that would always trigger in the
584 server-side SoupCookie code. [#602389]
586 * Fixed the server-side SoupMultipart code to be able to parse
587 multiparts containing binary attachments, rather than
588 rejecting them as malformed. [#601640]
590 * Fixed the Request-Line format in the https-over-proxy case.
591 Among other things, this fixes access to bugzilla.gnome.org
592 from WebKitGTK-based browsers. [#598277, #600826]
594 * Fixed a leak in SoupSession if a message was cancelled while
595 the initial socket connection was in progress. [#596074,
596 debugged by Arnout Vandecappelle]
598 * Fixed server-side parsing of Digest auth. [#602898, Chris
601 * Fixed WinSock initialization on Windows. [#600689, Tor
604 * Fixed a sporadic crash in the SSL code on Windows. [#600748,
607 * Fixed handling of https connections with timeouts on
608 Windows. [#600749, Tor Lillqvist]
610 * Added soup_session_prepare_for_uri(), to allow DNS
611 prefetching for faster browsing. [#598948, José Millán Soto]
613 * SoupSession now avoids redundant DNS lookups again when
614 first connecting to a new site, resulting in (probably
615 imperceptibly) faster loads.
617 * Added some debugging APIs to SoupConnection and SoupSession
618 for use by, eg, epiphany's soup-fly extension. [#589163,
621 Changes in libsoup from 2.28.0 to 2.28.1:
623 * libsoup will now attempt to make multiple connections to a
624 server at once when there are multiple messages queued to
625 that server. The previous behavior (only allowing a single
626 pending connection to each server) resulted in slow load
627 times on pages with lots of subresources (images, css, js,
628 etc) on servers that disallow persistent connections.
631 * There should now be fewer (no?) "Connection terminated
632 unexpectedly" errors in WebKitGTK.
634 * Fixed a crash in SoupCookieJarSqlite [#596859, patch from
637 * Fixed soup_address_get_physical() and address-to-name
638 resolution of SoupAddress [patch from Enrico Tröger].
640 * Fixed a bug in SoupContentSniffer that could cause false
641 negatives [#597545, patch from Alejandro Castro].
643 * Fixed the configure error if you have gnutls-devel but not
644 gcrypt-devel installed [#587709].
646 Changes in libsoup from 2.27.92 to 2.28.0:
648 * Fixed a handful of leaks found with valgrind, including a
649 large one in SoupContentSniffer [WebKit bug 28148].
651 * Changed the behavior of SoupCookieJarSqlite to improve
652 performance. [#584522, patch from Gustavo Noronha Silva]
654 * Fixed a crash in SoupSocket that affected gupnp. [#594951,
655 patch from Olivier Crête]
657 * Fixed the type of the SOUP_METHOD_* and SOUP_URI_SCHEME_*
658 macros to be const char * rather than gpointer. [#594508]
660 Changes in libsoup from 2.27.91 to 2.27.92:
662 * Removed SoupPasswordManager from the public API until its
663 problems can be addressed. Although it is still present, you
664 need to #define a special symbol for it to be visible in the
665 header files; see #594377 for details.
667 * Fixed a bug where empty query components were dropped from
670 * Fixed "make check" to work (but warn) when building with
673 * Fixed some small documentation bugs pointed out by Dominik
674 Bylica and Lucian Langa.
676 Changes in libsoup from 2.27.90 to 2.27.91:
678 * Added SoupPasswordManager, an interface for managing
679 persistent password storage, and SoupPasswordManagerGNOME
680 (in libsoup-gnome), which implements it using gnome-keyring.
681 tests/get.c provides a minimal example of how to use it.
683 * libsoup should now notice when the server closes a
684 persistent connection, and close its side of the connection
685 sooner. This should hopefully fix the spurious "Connection
686 terminated unexpectedly" errors in WebKitGTK. [#578990]
688 * Fixed some problems with connection management in
689 SoupSession that could cause a session to eventually "stall"
690 and be unable to process new requests. [#592084]
692 * Fixed an infinite loop that caused 100% CPU usage if the
693 network went down at exactly the right time while there were
694 unsent messages in the queue. [#592492]
696 * Fixed a crash in SoupLogger. [#591857]
698 * Fixed the definition of soup_message_is_keepalive() for
699 HTTP/1.0 messages, to fix a problem introduced in 2.27.90
700 where some messages would load completely but never emit
703 * Fixed a crash in SoupServer introduced in 2.27.90 when
704 processing a request with no "Host" header.
706 Changes in libsoup from 2.27.5 to 2.27.90:
708 * libsoup now uses glib's GResolver rather than its own DNS
709 code. For 2.27.90, the only visible change should be that
710 internationalized domain names are now supported. [#548287]
712 * Added soup_message_disable_feature(), which allows you to
713 disable particular features (eg, cookies, proxy,
714 content-sniffing, etc) on a per-message basis. [#574773]
716 * It is now possible to implement "OPTIONS *" in a SoupServer;
717 you must explicitly register a handler for "*" in order to
720 * Ignore Content-Length on EOF-terminated responses, to match
721 other browsers and therefore cope with broken servers that
722 send the wrong length. [Patch from Benjamin Otte.]
724 * Fixed the status code when trying to fetch an https URI with
725 a non-gnutls build of libsoup. [#590464]
727 * Fixed strict-aliasing warnings introduced in 2.27.4
730 * Fixed some warnings noted by fortify [#591226] and -Wextra.
732 * libsoup now uses automake 1.11's silent-rules support by
733 default (if you are building with automake 1.11). Use
734 "./configure --disable-silent-rules" or "make V=1" to
737 Changes in libsoup from 2.27.4 to 2.27.5:
739 * Fixed a crash when a web server redirected a request to a
740 non-http URI (eg, "about:blank"). [#528882]
742 * Fixed a hang when trying to create an attachment on certain
743 bugzilla installations from epiphany. [#584645]
745 * Fixed verification of V1 TLS certificates [#589323, Patrick
748 * Fixed compile problems on Windows (in the ssl code), and on
749 Linux (when the most recent version of gtk-doc was
752 Changes in libsoup from 2.27.2 to 2.27.4:
754 * Added SoupContentSniffer and the "content-sniffed" signal on
755 SoupMessage, to do Content-Type sniffing per the HTML5 /
756 draft-abarth-mime-sniff algorithm. [#572589, Gustavo Noronha
759 * Updated the earlier SoupSession timeout fixes ([#574414],
760 [#578928]) so that async connect() also times out [#588177,
761 Mark Nauwelaerts] and SSL works on Windows again [#587910,
764 * Fixed the behavior on a 301 response to a POST to match
765 real-world usage rather than what the spec says. (We were
766 doing the right thing on 302 and 303, but had missed 301.)
769 * Changed configure so that if GNUTLS isn't found then it
770 errors out, rather than silently building an SSL-less
771 libsoup. Configure with --disable-ssl if you actually don't
774 Changes in libsoup from 2.27.1 to 2.27.2:
776 * Replaced SoupProxyResolver with SoupProxyURIResolver, which
777 is a bit simpler, works with non-HTTP URIs (and so could be
778 used by gvfsd-ftp) and supports proxy auth correctly.
781 * Fixed SoupSession to not try to resolve http server
782 hostnames when it's just going to pass the hostname off to a
783 proxy server anyway. This fixes things on hosts that use a
784 proxy for everything and have no working DNS config
785 [#577532] and also makes WebKitGTK behave more like other
786 browsers in terms of per-host connection limits (we now
787 limit connections based on hostname rather than on IP
790 We also no longer set the AI_CANONNAME flag when calling
791 getaddrinfo(), which saves us a little bit of unnecessary
792 network traffic. [Pointed out by Christophe Gillette on the
795 * libsoup now always uses SSL 3.0 (not TLS 1.0 or 1.1) for
796 https URIs, to work around problems with older servers that
797 don't implement the (apparently quite confusing) TLS/SSL
798 compatibility rules correctly. Makes a bunch of
799 previously-inaccessible sites now accessible in WebKitGTK
800 (notably PayPal) [#581342]. Will eventually be revisited, to
801 first try TLS 1.1 and fall back if that fails.
803 * Fixed Digest auth to (recent) Apple CalDAV servers.
806 * Changed the way the SoupSession "authenticate" signal works
807 a bit. We now never emit "authenticate" before sending a
808 request, even if we know for sure that it's going to fail,
809 because this makes the semantics of the authenticate handler
810 too complicated (and because we'll only get into this
811 situation if a previous call to the authenticate handler
812 failed anyway). Fixes problems in WebKitGTK when you cancel
813 a password dialog, and then later try to load the page
814 again. [#583462, mostly figured out by Gustavo Noronha
817 * Fixed a bug in the CRLF-vs-LF patch (#571283) that caused
818 libsoup to fail to parse the response headers (returning
819 SOUP_STATUS_MALFORMED) if a CR LF got split across two
822 * Allow using PUT in soup_form_request_for_data(), to work
823 with certain broken web APIs. [#581860, Ross Burton]. Also,
824 fixed a problem with empty POST bodies that made some parts
825 of gmail not work in WebKitGTK.
827 * Applied some minor bugfixes to configure.in and autogen.sh
828 [#583911, #583942]. Fixed configure.in to not use gcc
829 warning options that the installed version of gcc doesn't
832 * Added G_GNUC_NULL_TERMINATED and G_GNUC_PRINTF to a few
833 methods that should have had them. [#581754, Ross Burton]
835 Changes in libsoup from 2.26.1 to 2.27.1:
837 * SOUP_SESSION_TIMEOUT now works properly with
838 SoupSessionAsync [#574414] and SSL [#578928]. Added
839 tests/timeout-test to test this.
843 * soup_date_to_string() now handles SOUP_DATE_RFC2822
844 [#579055, Enrico Tröger]
846 * soup_date_new_from_string() now accepts 24:00 as a
847 time in ISO8601 timestamps
849 * soup_date_to_string() now coerces the date to UTC
850 for HTTP and cookie dates, and outputs the UTC
851 correct offset for the other date types.
853 * Added regression tests to tests/date
855 * soup_headers_parse() now completely ignores
856 syntactically-incorrect headers, rather than passing them to
857 soup_message_headers_append() and causing a g_warning.
858 soup_message_headers_append() now also rejects 0-length
859 header names. Updated tests/header-parsing to check this.
862 * Fix a crash when cancelling a message from a "restarted"
863 handler, and updated a regression test to notice the
864 underlying cause. [#580193]
866 * Completing the API updates for #576760 from 2.26.1,
867 soup_message_headers_get() is now marked deprecated in favor
868 of soup_message_headers_get_one() and _get_list().
870 Changes in libsoup from 2.26.0 to 2.26.1:
872 * libsoup uses libproxy for PAC and WPAD proxy resolution
873 again. However, it arranges to do all communication with
874 GConf itself, to ensure that libproxy doesn't call it in
875 non-thread-safe ways. [#571527] Also, fixed a bug in
876 SoupSessionSync when proxy resolution failed. [#574957,
877 patch from Milan Crha].
879 (Also fixed three SoupProxyResolverGNOME bugs since the
880 2.26.0.9 preview release. [#578746, #578809])
882 * SoupURI now handles unencoded spaces in URIs. In particular,
883 redirects via Location headers with spaces in them now work.
886 * libsoup can now deal with servers (and clients) that
887 erroneously use LF LF instead of CR LF CR LF to separate
888 the headers and body. [#571283]
890 * Added soup_message_headers_get_one() and
891 soup_message_headers_get_list(), which will eventually
892 deprecate soup_message_headers_get(). This lets applications
893 deal correctly with implementations that erroneously send
894 multiple copies of single-valued headers. [#576760]
896 * In particular, soup_message_headers_get_content_type() now
897 ignores duplicate Content-Type headers [#576760] and also
898 ignores syntactically-incorrect Content-Type headers.
901 * SoupCookieJar can now store multiple cookies with the same
902 domain and name, but different paths. [#577360]
904 * Abnormal SSL connection closes are now treated as ordinary
905 EOFs, for compatibility with certain sites. [#577386]
907 * soup_header_g_string_append_param() now allows NULL values.
910 * soup_message_headers_append() now rejects header names and
911 values with newlines or certain other illegal data in them,
912 rather than generating syntactically invalid headers.
914 * Fixed a small bug in soup_date_new_from_string's ISO 8601
915 handling [qv #578369 for g_time_val_from_iso8601].
917 * The regression tests now work correctly on machines where
918 "localhost" resolves to "::1" instead of "127.0.0.1".
919 [#576583, patch from Andreas Rottmann]
921 * Fixed warnings when a message has a network problem when
922 many other messages are queued. [#578809]
924 * Miscellaneous documentation fixes/clarifications.
926 Changes in libsoup from 2.25.91 to 2.26.0:
928 * Temporarily disable libproxy support to work around a bug in
929 its gnome plugin that causes gvfsd-http (and probably
930 eventually other apps) to crash. [#571527]. For now,
931 SoupProxyResolverGNOME uses only GConf. To be fixed in
934 * Fixed a bug that showed up in WebKit, where if many messages
935 were queued all at once to a server that doesn't support
936 persistent connections, some of the requests will get lost.
937 #574365, reported by Xan Lopez.
939 * Fixed SoupServer to support using SOUP_ENCODING_EOF, so you
940 can stream responses of unknown length to HTTP/1.0 clients.
941 [#572153]. Added a regression test for this, and for chunked
942 and Content-Length-based streaming.
944 * Fixed several bugs that prevented SoupCookieJarSqlite from
945 working. [#572409, patch from Xan Lopez]
947 * Added G_{BEGIN,END}_DECLS guards to public headers that were
948 missing it. (Xan Lopez)
950 * Misc gtk-doc improvements
952 Changes in libsoup from 2.25.5 to 2.25.91:
954 * Fixed a crash in SoupProxyResolverGNOME when the proxy
955 requires authentication. (This does not make proxy
956 authentication *work* yet, it just makes it not crash.)
958 * Updated documentation
960 Changes in libsoup from 2.25.4 to 2.25.5:
962 * SoupProxyResolverGConf (which was incomplete) is gone, and
963 libsoup-gnome now requires libproxy, which is now officially
964 an external dependency of GNOME.
966 * Fixed a bug in SoupCookieJar that was making it send
967 "Cookie: (null)" when it had no cookies for a site, which
968 confused some web servers (WebKit bug 23240).
970 * Fixed a bug with using SOUP_MEMORY_TEMPORARY buffers and
971 soup_message_body_set_accumulate(FALSE). (Part of WebKit bug
972 18343, noticed by Gustavo Noronha Silva.)
974 * Fixed the build with non-gcc compilers
976 Changes in libsoup from 2.25.3 to 2.25.4:
978 * Added soup_session_get_feature() and
979 soup_session_get_features(), to query the features currently
980 available in a session (which is needed by the patch in
981 https://bugs.webkit.org/show_bug.cgi?id=22624)
983 Changes in libsoup from 2.25.2 to 2.25.3:
985 * Fixed a crash when using both cookies and a proxy. [#562191,
988 * Fixed soup_form_decode() to correctly handle forms with
989 URI-encoded parameter names [#563302, Evan Nemerson] and
990 added a regression test.
992 * Fixed a crash in SoupProxyResolverGConf. [#563145]
994 Changes in libsoup from 2.25.1 to 2.25.2:
996 * Fixed client behavior when presented with multiple auth
997 types to choose the *strongest* auth type (eg, Digest)
998 rather than the *weakest* one [#562339, Pontus Oldberg].
999 Added a regression test for this.
1001 * Moved libsoup-gnome headers to a different directory to make
1002 it easier to split libsoup and libsoup-gnome into separate
1003 packages, and to ensure that things that only want to be
1004 looking at plain libsoup headers (like gir-repository) don't
1005 accidentally see the libsoup-gnome ones.
1007 * Some minor doc fixes
1009 * Fixed libsoup-gnome linking with --as-needed. [#559342]
1011 Changes in libsoup from 2.24.1 to 2.25.1:
1013 libsoup 2.25.1 introduces a new library, libsoup-gnome, which
1014 will be used for features which are important to GNOME apps,
1015 but which require GNOME-specific libraries that non-GNOME apps
1016 may not want to add dependencies on.
1018 In 2.25.1, libsoup-gnome contains:
1020 * SOUP_TYPE_PROXY_RESOLVER_GNOME, a SoupSessionFeature
1021 type that can be added to a SoupSession to provide
1022 automatic proxy handling via the GConf proxy keys. (See
1023 below) The default implementation uses libproxy, which
1024 also handles WPAD, PAC, etc, but if libproxy is not
1025 available it will use GConf directly, supporting only
1026 the basic HTTP proxy functionality.
1028 * SoupCookieJarSqlite, a SoupSessionFeature that handles
1029 cookies and stores them in a Firefox 3-compatible sqlite
1030 file. (This is not actually a "GNOME-specific" feature,
1031 but I didn't want to make libsoup itself depend on
1032 sqlite, and I didn't want to make the dependency
1033 optional. This might change before 2.26.)
1035 * SOUP_TYPE_GNOME_FEATURES_2_26: a SoupSessionFeature type
1036 that can be added to a SoupSession to add all
1037 GNOME-integration features that are available for 2.26;
1038 as of 2.25.1, this is just the GNOME proxy resolver, but
1039 by 2.26.0 it may also include gnome-keyring support and
1040 possibly other features.
1042 Applications/libraries that are currently doing GConf proxy
1043 lookup by hand can be updated as follows:
1045 * Remove all of the existing code that listens to the
1046 GConf keys and sets SOUP_SESSION_PROXY_URI
1048 * Change the configure check to require
1049 "libsoup-gnome-2.4 >= 2.25.1" instead of "libsoup-2.4"
1051 * #include <libsoup/soup-gnome.h>
1053 * After creating your SoupSession, do:
1055 soup_session_add_feature_by_type (session, SOUP_TYPE_PROXY_RESOLVER_GNOME);
1057 (Or alternatively, use SOUP_SESSION_ADD_FEATURE_BY_TYPE
1058 with soup_session_async_new_with_options() or
1059 soup_session_sync_new_with_options().)
1062 Other new features and bug fixes in 2.25.1 include:
1064 * SoupCookieJarText, like SoupCookieJarSqlite, but using the
1065 old-style cookies.txt format, and in the base libsoup rather
1068 * Various bugfixes to SoupCookie and SoupCookieJar to fix the
1069 problems with cookies not working on certain sites.
1071 * The new SoupMultipart type provides support for multipart
1072 MIME bodies, and soup-form now includes several methods for
1073 generating and parsing multipart form data and file uploads.
1075 * SoupMessageHeaders now has methods for easy handling of the
1076 Content-Type, Content-Disposition, Range, and Content-Range
1077 headers. The Content-Disposition handling recognizes
1078 RFC2231-encoded UTF-8 filenames.
1080 * SoupServer now automatically handles partial GET requests;
1081 if your server returns SOUP_STATUS_OK in response to a
1082 partial GET, libsoup will automatically convert it to a
1083 SOUP_STATUS_PARTIAL_CONTENT response with only the requested
1086 Thanks to Xan Lopez and Diego Escalante Urrelo for their work
1087 on SoupCookie, SoupCookieJar, SoupCookieJarText, and
1088 SoupCookieJarSqlite.
1090 Changes in libsoup from 2.24.0.1 to 2.24.1:
1092 * Fixed a crash when unreffing the session from a
1093 soup_session_queue_message() callback [#533473], and added
1094 regression test. In particular, this fixes a crash in
1095 seahorse when trying to connect to a non-responsive
1098 * Fixed an infinite loop when giving a bad password to a site
1099 that uses non-standard capitalization in the
1100 WWW-Authenticate header (eg, gmail.com) [#536285].
1102 * Fixed a leak in SoupSessionAsync when using a non-default
1103 GMainContext. [addendum to #498509, Arnout Vandecappelle]
1104 Added additional code to the regression tests to make sure
1105 sessions and servers do not get leaked.
1107 * Fixed a leak in the XML-RPC code
1109 * Compile fixes for "gcc -pedantic" [#553976, Sander Dijkhuis]
1110 and -DG_DISABLE_DEPRECATED / -DG_DISABLE_SINGLE_INCLUDES
1111 [#557072, Cosimo Cecchi]
1113 * Patched xmlrpc-test to accept the incorrect response to
1114 test_echo() that php-xmlrpc gives when it's built against
1115 libxml2 >= 2.7.1 (qv http://bugs.php.net/45996), so that
1116 I can "make distcheck"...
1118 * Updated generated documentation
1120 Changes in libsoup from 2.23.92 to 2.24.0.1:
1122 * Reverted part of the fix for #528882, which caused the DAAP
1123 plugin in rhythmbox to crash. [#553466]
1125 Changes in libsoup from 2.23.91 to 2.23.92:
1127 * Fixed the handling of a 302 response to a HEAD request,
1128 which should NOT be treated like a 303 response. [#551190,
1131 Changes in libsoup from 2.23.6 to 2.23.91:
1133 * Fixed a crash in gvfs [#528882], though there is still an
1134 unknown bug there. As part of this fix, libsoup will now
1135 return an error if you try to do an operation on a non-HTTP
1136 URI. (Previously it was just treating any URI scheme except
1139 * Added soup_date_to_timeval() for gvfs. [#549006, patch from
1142 Changes in libsoup from 2.23.1 to 2.23.6:
1144 * Fixed use of g_idle_add() so that heavy I/O won't end up
1145 blocking libsoup callbacks. [#536676, Benjamin Otte]
1147 * Allow the caller to override the Host header. [#539803, Marc
1150 * Properly handle responses larger than 4G. [#539861, Peter
1153 * Fixed the build when using certain LDFLAGS [#541506, Götz
1156 * Fixed a small bug in Digest auth handling. [#544681, Mads
1159 * Fixed multiple Windows bugs [Tor Lillqvist]
1161 Changes in libsoup from 2.4.1 to 2.23.1:
1163 * This is the first unstable release leading up to GNOME 2.24.
1164 Bumped the libsoup version number up to 2.23.x to match the
1165 GNOME version; note that the API version is still "2.4",
1166 meaning in particular that you still call it "libsoup-2.4"
1167 when using pkg-config.
1169 * Added SoupSessionFeature, an interface type that will be
1170 used for several new features. Ported SoupLogger and
1171 SoupAuthManager to use it.
1173 * Added SoupCookie and SoupCookieJar. This API is already
1174 being used in Epiphany, via WebKit, but it is not yet
1177 * Fixed GnuTLS support on Win32. [#528752, Marc Maurer]
1179 Changes in libsoup from 2.4.0 to 2.4.1:
1181 * Fixed SoupMessage to not downgrade to HTTP/1.0 for the
1182 second attempt when it receives an HTTP/1.0 redirect or 401.
1183 [#521848, Tommu Komulainen]
1185 * Fixed Host: header syntax when the host is an IPv6 address
1188 * Fixed SoupSession to not emit "authenticate" multiple times
1189 for messages that have been requeued. [#522601, Tommi
1190 Komulainen]. Also added two new signals to SoupSession,
1191 request-queued and request-unqueued, to help simplify
1192 certain session-helpers and avoid bugs like this in the
1195 * Fixed soup_server_pause_message() to actually work (rather
1196 than *un*pausing the message).
1198 * Added a property SOUP_SESSION_IDLE_TIMEOUT that can be used
1199 to set a timeout after which idle connections will
1200 automatically be closed. [#518214, Jorn Baayen]
1202 * Implemented RFC 2069-style Digest auth, and fixed SoupAuth
1203 to compare auth scheme names case-insensitively, to fix
1204 authentication against Apple's calendar server. [#498484]
1206 * Fixed a crash in SoupAuthDomainDigest if the client provided
1207 an unrecognized username. [pointed out by Curtis Magyar on
1210 * Fixed a few SoupDate bugs. (In particular, it was outputting
1211 the wrong day of the week when stringifying dates.)
1213 * Improved the cleanup of idle connections, to fix slow load
1214 times with the libsoup backend of WebKit.
1216 * Added a new SoupMessage signal "wrote-body-data" that can be
1217 used for progress information when sending a large request
1218 body. Also allow providing the request body in multiple
1219 chunks even when using Content-Length encoding. [#525101,
1222 * libsoup now ignores SIGPIPE globally, instead of
1223 un-thread-safe-ly ignoring it only around network writes. In
1224 particular, this means it is ignored when the SSL code needs
1225 to unexpectedly do a write when we asked it to do a read.
1226 [#524397, Curtis Magyar]
1228 * The discard-body-chunks-once-they're-no-longer-needed
1229 behavior, confusingly called SOUP_MESSAGE_OVERWRITE_CHUNKS,
1230 is now controlled by a SoupMessageBody method
1231 (soup_message_body_set_accumulate()), and can be applied to
1232 either the request body or the response body.
1233 (OVERWRITE_CHUNKS is still available for backward
1234 compatibility.) [#522146, Christian Kellner]
1236 * The DNS cache no longer caches "no such host" results, since
1237 some name servers lie to clients outside their firewall,
1238 which could then cause problems for laptops moved between
1239 networks. [#523269, Jörgen Scheibengruber]
1241 * Added some new regression tests, fixed some small bugs in
1244 Changes in libsoup from 2.3.4 to 2.4.0:
1246 * Fixed a small memory leak in SoupSession. [#518798, Wouter
1249 * Minor fixes to redirect behavior; PROPFINDs can now be
1250 automatically redirected (pointed out by Christian Kellner),
1251 and 302 is treated like 307, not 303. Also fixed to make
1252 sure that redirect-test actually gets run by "make check".
1254 * The SoupSocket I/O methods now set nread/nwrote even on
1255 error. [Benjamin Otte]
1257 Changes in libsoup from 2.3.2 to 2.3.4:
1259 * The documentation should be accessible from devhelp again
1260 [#518384, Mart Raudsepp]. (Also fixed another
1261 documentation-generation bug that affected builds from svn,
1262 but not the 2.3.2 tarball for some reason. [#518317,
1265 * Fixed dependencies in libsoup-2.4.pc file [#517631,
1268 Changes in libsoup from 2.3.0.1 to 2.3.2:
1270 API changes / Behavior changes:
1272 * soup_server_add_auth_domain() now refs the auth domain when
1273 adding it. (soup_server_remove_auth_domain() already
1274 unreffed it.) This means existing applications using
1275 SoupAuthDomain will now have a small memory leak. Those
1276 applications should update their libsoup-2.4 requirement to
1277 ">= 2.3.2" at some point before the final GNOME 2.22.0
1278 release, and then fix the code to unref the auth domain
1279 after adding it to the server.
1281 * SoupSession's automatic redirect-handling behavior now obeys
1282 RFC 2616 more closely. In particular, status codes 300 and
1283 304 are no longer mistakenly considered redirects; POSTs
1284 that receive 303 are now redirected into GETs; and POSTs
1285 that receive 301, 302, or 307 are now not redirected.
1287 Applications that were using the SOUP_MESSAGE_NO_REDIRECT
1288 flag to prevent libsoup from redirecting POSTs incorrectly
1289 before should now be able to remove that if they depend on
1290 libsoup-2.4 >= 2.3.2.
1294 * Added a SOUP_SESSION_USER_AGENT property to SoupSession, and
1295 SOUP_SERVER_SERVER_HEADER to SoupServer, to support
1296 automatically adding "User-Agent" and "Server" headers to
1297 messages. (The default behavior is to do nothing, as
1300 * Added several new methods to soup-forms.h. Applications that
1301 are encoding a fixed set of form fields can now just pass
1302 them to soup_form_encode(), rather than needing to construct
1303 a GHashTable or GData list. (Likewise, the new
1304 soup_uri_set_query_from_fields() behaves similarly for
1305 directly updating a URI with form data.) There are also now
1306 soup_form_request_new() and other related methods, to
1307 directly create a GET or POST SoupMessage for submitting a
1310 The original soup_form_* methods have all been renamed,
1311 although #defines exist for backward compatibility.
1313 * Added soup_message_set_chunk_allocator() and
1314 soup_buffer_new_with_owner(), to give applications more
1315 control over memory usage/copying when doing streaming HTTP.
1316 [Wouter Cloetens, #513810].
1318 * Added several new methods to soup-value-utils.h for working
1319 with multiple array or hash table values at once:
1320 soup_value_hash_new_with_vals(),
1321 soup_value_hash_insert_vals(),
1322 soup_value_hash_lookup_vals(),
1323 soup_value_array_new_with_vals(), and
1324 soup_value_array_append_vals().
1326 This helps to simplify XML-RPC calls that send or receive
1329 * Added soup_date_to_time_t().
1331 * Added SoupMessageHeadersIterator, an iterator type for
1332 SoupMessageHeaders that can be used instead of
1333 soup_message_headers_foreach().
1337 * Fixed a crash-when-idle in evolution-exchange [#437835] and
1338 rhythmbox [#506552].
1340 * Added the API version to the gtk-doc installation dir, to
1341 prevent parallel-installation problems with libsoup 2.2 and
1342 2.4. [#512810, Daniel Gryniewicz].
1344 * Fixed tests/query-test to compile correctly on Solaris.
1345 [#513602, patch from Jeff Cai]
1347 * Fixed some other minor HTTP conformance issues.
1351 * Although not present in the release tarball, there are now
1352 experimental python bindings for libsoup in GNOME subversion
1353 (in the python/ subdirectory of libsoup trunk). These are
1354 not yet stable (and are not built by default or installed
1355 even when building from svn), but comments on them are
1356 welcome at libsoup-list@gnome.org
1358 Changes in libsoup from the 2.2 series to 2.3.0.1:
1360 libsoup 2.3.0 is the first beta release of the libsoup 2.4
1361 series. It is an API break from the earlier 2.2 series that
1362 fixes various bugs and API warts and lays the groundwork for
1363 language bindings and various new features in upcoming
1366 (2.3.0.1 is identical to the 2.3.0 release in terms of code,
1367 but includes this updated NEWS file which was accidentally
1368 left out of the 2.3.0 tarball.)
1370 http://library.gnome.org/devel/libsoup/unstable/libsoup-porting-2.2-2.4.html
1371 goes over the API changes in detail. If you have questions not
1372 answered by the porting document, please send mail to
1373 libsoup-list@gnome.org.
1375 Specific user-reported bugs fixed in this release:
1377 * SoupURI now correctly handles URIs with complex encoded
1378 queries [#266516, Jean-Yves Lefort]
1380 * It is now possible for a SoupServer to use Digest auth
1381 without needing to have the cleartext password available.
1382 [#347108, Anas Nashif]
1384 * Digest authentication now properly handles "stale=true" and
1385 "nextnonce=..." [#471380, Jari Urpalainen]
1387 * SoupServer is now subclassible [#491653, Mathias Hasselmann]
1389 * soup_server_run_async and soup_server_quit no longer ref and
1390 unref the server, as that doesn't match ordinary GObject
1391 conventions [#494128, Mathias Hasselmann]
1393 * The test programs no longer use a symbol name that conflicts
1394 with Cygwin [#501631, Cygwin Ports Maintainer]
1396 * libsoup can now handle the not-quite-HTTP responses returned
1397 by Shoutcast servers [#502325, Wouter Cloetens]
1399 * If you use libsoup while disconnected from the network, it
1400 no longer caches the failed DNS results [#508593, Bradley
1403 Items from http://live.gnome.org/LibSoup/ToDo fixed:
1405 * "Expect: 100-continue" processing now works correctly on
1406 both client and server.
1408 * SoupSessions are no longer leaked
1410 * The XML-RPC API is improved. The SOAP API is gone...
1412 * Added utility functions for HTML form handling
1414 * Improved message header handling
1416 * SoupServer now automatically adds a "Date" header
1420 Changes in libsoup from 2.2.103 to 2.2.104:
1422 * soup_message_io_pause() and soup_message_io_pause() are now
1423 allowed for client messages (and in particular, they don't
1424 mess up when called from the "got_chunk" callback).
1425 [#452280, Marco Barisione]
1427 * Fixed some bugs in SOUP_SESSION_ASYNC_CONTEXT support that
1428 would cause parts of an operation to run in the default
1429 context rather than the session's context. Also fixed some
1430 leaks and added a regression test. [#498509, Wouter
1433 * There is a new test/sample program, tests/pull-api.c,
1434 showing how to implement a pull API using SoupSessionAsync.
1435 (This depends on the fixes for #452280 and #498509, so it
1436 won't work with older versions of libsoup.)
1438 * Discovered "valgrind --leak-resolution=med" and fixed some
1441 Changes in libsoup from 2.2.102 to 2.2.103:
1443 * Fix memory corruption in SoupSessionAsync that caused
1444 rhythmbox to crash. [#484988, patch from Rob Bradford]
1446 * Fix socket refcounting in SoupServer to fix warnings /
1447 possible crash. [#459896, Emanuele Aina]
1449 Changes in libsoup from 2.2.101 to 2.2.102:
1451 * Unbreak the build when building without SSL. Not that you
1452 should be building without SSL anyway, but... (reported by
1455 Changes in libsoup from 2.2.100 to 2.2.101:
1457 * Fix build on cygwin [384498]
1459 * Fix SSL rehandshaking on synchronous sockets [415402, Jacob
1460 Berkman] and add a regression test for it.
1462 * Fix two bugs in https tunnels over proxies that require
1463 authentication (noticed by Varadhan), and add a regression
1466 * Ensure that if you queue multiple messages at once to an
1467 http server that requires authentication but that you
1468 haven't authenticated to yet, that all of the messages get
1469 properly authenticated [271540, James Willcox]. And add a
1470 regression test for it.
1472 * Fix NTLM authentication, which got broken by the previous
1473 fix. [471389, Varadhan]. Add a basic NTLM regression test
1474 that doesn't really test the crypto/encoding parts, but at
1475 least makes sure that the message flow is correct.
1477 * Allow trailing whitespace after HTTP version in
1478 Response-Line, for compatibility with broken servers
1479 [475169, Stephane Loeuillet]. Add that case to the
1480 header-parsing regression test.
1482 * Fix crash when the session's "authenticate" handler returns
1483 a username and no password when using NTLM. [480987, Wendell
1486 * Use "new" glib base64 and iso8601 methods rather than
1487 duplicating them. [337010, patch from Emmanuele Bassi].
1489 * Implement soup_session_queue_message() for SoupSessionSync.
1491 * Add G_BEGIN_DECLS / G_END_DECLS to all headers that were
1492 missing them. [438776, patch from Jonathon Jongsma].
1494 * Fix broken definition of SOUP_IS_MESSAGE_FILTER_CLASS. Noted
1495 by "cascardo" on libsoup-list.
1497 * Remove documentation of non-public MD5 methods [440092,
1498 Jonathon Jongsma]. Removed a mysterious half-sentence in the
1499 SoupMessage docs [458116, Marco Barisione].
1501 Changes in libsoup from 2.2.99 to 2.2.100:
1503 * Fixed soup_headers_parse_status_line() so WebDAV response
1504 parsing will work again. [406997]
1506 * Fixed a bug in the header-parsing regression test that
1507 caused the test to fail sometimes, even though the actual
1508 header-parsing code was fine.
1510 Changes in libsoup from 2.2.98 to 2.2.99:
1512 * Fixed header parsing, including a crash in SoupServer with
1513 certain malformed requests [391970].
1515 * Fixed redirection to other hosts with SoupSessionAsync.
1518 * Fixed a small memory leak pointed out by Chris Austin.
1520 Changes in libsoup from 2.2.97 to 2.2.98:
1522 * The XML-RPC code now correctly interprets <value>foo</value>
1523 as meaning the same thing as
1524 <value><string>foo</string></value>. [364490] Pointed out by
1527 * Memory leak fixes from Andrew W. Nosenko.
1529 * A few symbols that should have been static before now are.
1530 [376387] Patch from Matthias Clasen.
1532 Changes in libsoup from 2.2.96 to 2.2.97:
1534 * Fixed SOAP and XML-RPC code to handle whitespace and
1535 comments in the XML better. (Based on a patch from Andrew W.
1538 * Fixed lots of typecasting/constness warnings in the code
1539 (mostly via a patch from Andrew W. Nosenko)
1541 * Fixed build on Cygwin [321827]
1543 * Fixed libsoup-2.2.pc fields [343340] and make it get
1544 uninstalled correctly [356809]. (Mikhail Zabaluev and
1547 * Fixed some small leaks in SoupServer pointed out by Paolo
1550 Changes in libsoup from 2.2.95.1 to 2.2.96:
1552 * SoupServer now works even if you don't explicitly set an
1553 encoding for the response. (In particular, the automatic 404
1554 if you request a path with no handlers now works. Problem
1555 pointed out by Dennis Jacobfeuerborn.)
1557 * WWW-Authenticate and Proxy-Authenticate responses with no
1558 realm parameter are now ignored, as per RFC 2617, fixing a
1559 crash pointed out by Nate Nielsen.
1561 * Added soup_xmlrpc_message_from_string(), from Fernando
1564 * simple-httpd and "get" now support HEAD
1566 Changes in libsoup from 2.2.94 to 2.2.95.1:
1568 * Even more fixes to XML-RPC, found by the new XML-RPC
1569 regression test. This includes some API changes that I don't
1570 feel guilty about, because the code totally didn't work at
1573 * Fixed a bug in soup_mktime_utc()
1575 * (2.2.95 was identical to 2.2.95.1. The only difference is
1576 that the shared library version was belatedly bumped from
1577 8.2.0 to 8.3.0 to reflect the API "additions")
1579 Changes in libsoup from 2.2.93 to 2.2.94:
1581 * Various fixes to the XML-RPC code (which apparently had not
1582 actually ever worked before) from Brent Smith. [343973,
1585 * Added client and server API tutorials to the docs
1587 * auth-test now uses a local Apache 2.2 install, if possible,
1588 rather than depending on files that used to be on an old
1589 Ximian web server but haven't been anywhere for a long time.
1592 Changes in libsoup from 2.2.92 to 2.2.93:
1594 * Fixed outgoing data corruption caused when SoupServer
1595 started writing out a response a second time after already
1596 having started once. [334469]. Also fixed 342640 and another
1597 bug caused by the workaround for 334469 in 2.2.92. Based on
1598 patches and analysis from William Jon McCann and Armin
1601 * Fixed a deadlock when changing a session's proxy URI.
1602 [309867 / bnc 174255, based on a patch by Veerapuram
1605 * Fixed https-via-proxies in the synchronous case. [bnc 174255]
1607 * Fixed a crash in evolution-exchange [342545, fix based on an
1608 analysis by Wang Xin].
1610 * Fixed simple-proxy to not crash at startup. Oops. (Alex
1613 Changes in libsoup from 2.2.91 to 2.2.92:
1615 * Fixed server-side digest auth to return a valid "algorithm"
1616 value and client-side to not crash if it sees an invalid one
1619 * Fixed the Request-Line parsing code to not hardcode a
1620 maximum URI length (to allow very long DAAP requests from
1621 iTunes in Rhythmbox). [335040]
1623 * Fixed some warnings (signed/unsigned mismatch).
1625 Changes in libsoup from 2.2.7 to 2.2.91:
1627 * (The large version number bump is because there was an
1628 internal 2.2.90 release for SUSE 10.1 alphas, which was
1629 supposed to be intermediate between 2.2.7 and 2.4.0. But
1630 2.4.0 didn't end up happening, and I don't want to regress
1631 the version number at this point.)
1633 * SoupSession, SoupServer, SoupConnection, SoupSocket, and
1634 SoupAddress now have an "async-context" property that allows
1635 you to use the async API in a non-default GMainContext.
1636 [Based on patches from Armin Bauer and Jürg Billeter.]
1638 * SoupSession, SoupConnection, and SoupSocket now have a
1639 "timeout" property to stop synchronous sockets from hanging
1640 forever if the remote end is unresponsive (from Varadhan).
1642 * Fixed some bugs in soup_date_iso8601_parse(). [324671, from
1645 * More Windows build fixes from Tor.
1647 Changes in libsoup from 2.2.6.1 to 2.2.7:
1649 * Fixed a crash when using NTLM connections [316313, probably
1650 also 318252]. (Also 321208, which was a bug introduced in
1651 the original fix for 316313.)
1653 * Fixed a bug that could cause soup to suck up all available
1654 CPU when a connection to a SoupServer was dropped by the
1655 other side [319305, patch from Jonathan Matthew]
1657 * Fixed the creation of struct elements in XMLRPC messages
1658 [321362, patch from Sebastian Bauer]
1660 * Plugged a small memory leak in SoupSocket (from Wang Xin).
1662 * Fixed two compile problems, a gccism [320349, patch from
1663 Roland Illig], and a strict-aliasing warning from gcc 4.1.
1665 Changes in libsoup from 2.2.6 to 2.2.6.1:
1667 * Fixed a crash when using SoupSoapMessage
1669 Changes from 2.2.5 to 2.2.6:
1671 * Fixed a crash when canceling a message (from Tambet Ingo)
1673 * Fixed a bug where a connection could be leaked forever in
1674 some circumstances if a request got a 30x, 401, or 407
1675 response, eventually causing a hang when the session hit its
1676 maximum connection limit. (Dan/Tambet)
1678 * Fixed a memory leak. (Tambet)
1680 * Fixed a bug that would sometimes show up when connecting to
1681 a server on localhost [#312540]
1683 * Added some API to SoupServer and SoupSocket to help fix a
1684 long-standing rcd bug.
1686 Changes from 2.2.4 to 2.2.5:
1688 * Win32 support (from Tor Lillqvist)
1690 * Up-to-date API documentation pretty much everywhere
1692 * Basic XMLRPC support (from Mariano Suarez-Alvarez, Fernando
1693 Herrera, and Jeff Bailey)
1695 * New HTTP timestamp-manipulation methods soup_date_parse,
1696 soup_date_generate, and soup_date_iso8601_parse.
1698 * SoupSession now handles relative URLs in the Location header
1699 (in violation of RFC 2616, but in line with how some servers
1702 Changes from 2.2.3 to 2.2.4:
1704 * Fixed a problem with NTLM authentication against
1705 multi-domain servers. [306877]
1707 * Fixed DNS lookups on Solaris. [254551, 268389]
1709 Changes from 2.2.2 to 2.2.3:
1711 * Now compiles against gnutls 1.2.0 [257811]
1713 * Fixed a bug that could result in 100% CPU usage if an SSL
1714 server closed the connection uncleanly. [273352]
1716 Changes from 2.2.1 to 2.2.2:
1718 * The SSL validation fix from 2.2.1 [264414] is now completely
1719 fixed. (Part of the fix didn't actually make it into 2.2.1)
1721 * HTTPS certificate validation now works when using an HTTP
1724 * HTTP proxy code deals better with proxies that try to make
1725 the user do HTML-form-based authentication. [268531]
1727 * 64-bit fixes for NTLM auth code. [270323, from Michael
1730 Changes from 2.2.0 to 2.2.1:
1732 * Updated for a libgcrypt API change between 1.1.9x and 1.2.x
1733 that caused a crash at runtime if you compiled against
1736 * SSL certificate validation failure should now always result
1737 in a status of SOUP_STATUS_SSL_FAILED, rather than getting
1738 turned into SOUP_STATUS_IO_ERROR. [264414]
1741 Changes in libsoup from the 2.0 series (1.99.x versions) to 2.2:
1743 * Most of the libsoup datatypes are now GObjects. (SoupUri
1744 is currently an exception to this.)
1746 * SoupMessage now emits signals at various stages of
1747 processing. (Eg, "wrote_body", "got_headers".) (You
1748 can also still use soup_message_add_*handler().)
1750 * SoupContexts are gone; soup_message_new() now takes a URI
1753 * All formerly global state is now maintained by the
1754 SoupSession object. (This includes the connection pool,
1755 proxy server, cached authentication information, SSL
1758 * You can create a SoupSessionAsync (for 2.0-like
1759 behavior) or SoupSessionSync (for blocking,
1762 * You can add SoupMessageFilter objects to a session
1763 to have certain processing automatically performed
1764 on every message sent via that session. (Eg, setting
1767 * NTLM authentication is no longer supported by
1768 default. You must enable it by setting the
1769 SOUP_SESSION_USE_NTLM flag on the session.
1771 * The preferred method of handling authentication is
1772 now via the "authenticate" and "reauthenticate"
1773 signals on SoupSession. (The old style, of encoding
1774 the user and password information into the url is
1775 also still supported.)
1777 * The SOUP_ERROR_* values are now SOUP_STATUS_* (so that we
1778 don't have "SOUP_ERROR_OK" and the like).
1780 * SOUP_MESSAGE_IS_ERROR() is gone, since some cases
1781 want to include 3xx responses and some don't.
1783 * SOUP_ERROR_CANT_AUTHENTICATE and
1784 SOUP_ERROR_CANT_AUTHENTICATE_PROXY are now gone,
1785 since they didn't carry any information that
1786 SOUP_STATUS_UNAUTHORIZED and
1787 SOUP_STATUS_PROXY_UNAUTHORIZED don't.
1789 * DNS errors now show up as the new status code
1790 SOUP_STATUS_CANT_RESOLVE rather than being mixed in
1791 with SOUP_ERROR_CANT_CONNECT.
1793 * Minimal SOAP support has been added back, via
1794 SoupSoapMessage/SoupSoapResponse
1796 * The HTTP I/O state machine was completely rewritten, fixing
1797 numerous crashes, leaks, and protocol errors.
1799 * SoupUri now conforms to RFC 2396. Mostly.
1801 * Various test programs have been added under tests/
1805 * Support for OpenSSL (which was horribly buggy) and
1806 Mozilla NSS (which was never finished). We only
1807 support GNUTLS for SSL now.
1811 * CGI support in SoupServer