1 Changes in libsoup from 2.38.0 to 2.38.1:
3 * Fixed a situation where soup_connection_disconnect() could
4 end up calling g_object_unref(NULL) when an idle connection
5 was closed. [Sergio, #672178]
7 * Fixed two warnings when cancelling an in-progress
8 soup_socket_connect_async(). [pointed out on the mailing
11 * Fixed a crash when disposing a SoupServer with open
12 connections. [#673468, Jonny Lamb]
14 * Fixed the SoupSession:ssl-use-system-ca-file property to get
15 turned off (rather than on) when you set it to FALSE... Also
16 fixed up the property notifications around the various
17 certificate-verification properties (ssl-ca-file,
18 ssl-use-system-ca-file, and tls-database).
20 * Fixed SoupSession to not leak paused SoupMessages that
21 were still in progress when it was unreffed. [#673905]
23 * Updated the win32 file: URI code again, to fix regressions
24 in the WebKit tests. [WebKit bug #82484]
26 Changes in libsoup from 2.37.92 to 2.38.0:
28 * Minor documentation fixes
30 Changes in libsoup from 2.37.91 to 2.37.92:
32 * Added soup_session_prefetch_dns() and deprecated
33 soup_session_prepare_for_uri(). The new method takes a
34 completion callback, allowing you to know how many DNS
35 resolutions are currently outstanding, so you don't spam the
36 resolver. [Sergio, WebKit bug #41630]
38 Changes in libsoup from 2.37.90 to 2.37.91:
40 * Fixed an out-of-bounds memory read that could occur when
41 parsing malformed requests/responses.
43 * Fixed a build-related bug in Makefile.glib that affected
44 locales such as Estonian where "Z" is not the last (ASCII)
45 letter of the alphabet. [#654395, Priit Laes]
47 * Fixed the handling of file: URIs with query components,
48 which got broken in 2.37.90.
50 * Fixed SoupAuthManagerNTLM to not fall back to allowing Basic
51 auth when NTLM failed.
53 * Further tweaked the warnings/fallback in SoupURI, so that
54 soup_uri_to_string() on an http URI with a NULL path would
55 translate that to "/" like it used to. [#670431]
57 * Fixed a warning when cancelling the load of a page with many
58 subresources. [#667245]
60 * Use G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS if GLib is new
61 enough, to avoid getting warned about the use of
64 Changes in libsoup from 2.37.5 to 2.37.90:
66 * libsoup is now beta-testing Makefile.glib from bug 654395.
67 If 2.37.90 fails to build in some strange way that 2.37.5
68 did not, this is probably why.
70 * Replaced some of the SoupURI g_return_if_fail()s that were
71 added in 2.37.5 with g_warn_if_fail()s. Although it had
72 always been documented that SoupURIs must have a non-NULL
73 path, most SoupURI functions treated NULL the same as "",
74 and various apps (eg, rhythmbox, midori) were accidentally
75 relying on this. [Dan]
77 * Added various return-if-fails and other sanity checks to
78 various functions. [#669479, Robert Swain, Mark Nauwelaerts,
81 * Updated docs/annotation of soup_form_decode_multipart() to
82 note that all of the out parameters are (allow-none). Fixed
83 the file_control_name parameter to actually allow NULL like
84 the docs already claimed. [#669479, Simon McVittie]
86 * Fixed a minor URI parsing bug. (It was allowing URI schemes
87 to contain numbers.) [Dan]
89 * Fixed a few memory leaks introduced in the 2.37 cycle. [Dan]
91 * Fixed SoupServer to be able to correctly respond to HTTP/1.0
92 requests over IPv6 (which previously would always have
93 returned "400 Bad Request"). [#666399, Dan]
95 * Changed SoupSessionAsync to make it possible to finalize it
96 from the "wrong" thread. [#667364, Dan].
98 * Fixed SoupCache to not cache resources whose URIs have query
99 components (unless they have explicit cache headers); to not
100 generate broken conditional requests for resources that
101 cannot be conditionally validated; and to not spew warnings
102 when receiving invalid Cache-Control headers. [#668865,
105 Changes in libsoup from 2.37.4 to 2.37.5:
107 * Fixed a bug in SoupSession:use-thread-context [Dan]
109 * Fixed the case of cancelling a message from
110 SoupSession::request-started [#668098, Raphael Kubo da
113 * Fixed a crash in epiphany when loading a page with more than
114 1000 or so images. [#668508, Dan]
116 * Fixed a bunch of cases involving invalid URLs found while
117 testing SoupServer against an HTTP protocol fuzzer. Also
118 fixed up some documentation/annotations and added some new
119 test cases. [#667637, Simon McVittie]
121 * Fixed SoupRequestFile to work on Windows. [Paweł Forysiuk]
123 Changes in libsoup from 2.37.3 to 2.37.4:
125 * SoupMessage now has a "network-event" signal that can be
126 monitored for information about DNS, proxy lookup, TCP
127 connections, and TLS handshakes. [Dan]
129 * The HTTP header parsing code now avoids hitting
130 g_return_if_fails() (and returns an error instead) in a few
131 cases of seriously-invalid headers. [#666316, Simon
134 * POSTs and other non-idempotent requests are now always sent
135 on newly-created connections. You can also force this
136 behavior on other messages by setting the
137 SOUP_MESSAGE_NEW_CONNECTION flag. [#578990, Dan]
139 * Server-closed idle connections are now detected ahead of
140 time on Windows, preventing occasional spurious "Connection
141 terminated unexpectedly" errors. (This had been fixed on
142 UNIX since 2.28, but the earlier fix didn't work with
143 WinSock.) [#578990, Dan]
145 * Plugged a leak in SoupRequestHTTP. [#667099, Xan]
147 Changes in libsoup from 2.37.2 to 2.37.3:
149 * Now requires glib 2.31
151 * Simplified SoupHTTPInputStream and SoupRequestHTTP, allowing
152 related simplifications in WebKit's ResourceHandleSoup. This
153 is an ABI-incompatible change, but SoupHTTPInputStream is an
154 unstable API. [#663451, Dan]
156 * Fixed a bug that caused the SOUP_MESSAGE_CERTIFICATE_TRUSTED
157 flag to always be cleared, causing epiphany to claim all
158 https pages were untrusted. [#665182, Dan]
160 * Fixed some bugs in the handling of SoupSession:http-aliases
161 and SoupSession:https-aliases.
163 * Fixed handling of ACLOCAL_FLAGS [#641470, Craig Keogh]
165 * Fixed SoupContentDecoder's "ignore Content-Encoding: gzip
166 because the server didn't actually mean it" hack to handle
169 * Clarified the documentation on SoupSession:ssl-strict
172 Changes in libsoup from 2.37.1 to 2.37.2:
174 * Fixed up the output of SoupDirectoryInputStream, thus
175 improving the display of local directories in WebKit-based
176 browsers. [#662266, Sergio]
178 * Fixed a bug introduced in 2.37.1 that caused some cancelled
179 SoupMessages to be leaked. [#662847, Sergio]
181 * Added new SoupSession properties "http-aliases" and
182 "https-aliases" that allow you to configure more explicitly
183 what URL protocols are treated as aliases for http (eg,
184 "dav:", "webcal:", etc), and which should be recognized as
185 meaning something else, (eg, "ftp:") [Dan]
187 * Added soup_session_would_redirect() and
188 soup_session_redirect_message(), to help users that want to
189 handle some or all redirects themselves. Added
190 soup_message_set_redirect() to make it easier to return
191 redirection responses from a SoupServer. [Dan]
193 * Added the SoupSession "use-thread-context" property, which
194 tells it to use GMainContexts in a gio-compliant way (and in
195 particular, allows having different messages running in
196 different GMainContexts on the same SoupSession, though only
197 to a limited extent since SoupSessionAsync is still not
198 thread-safe). In particular, this was added in order to
199 address WebKit bug 68238. [Dan]
201 * Made SoupURI %-encode non-ASCII characters when parsing
202 URIs, in particular to fix a problem with certain servers
203 sending syntactically invalid redirects that they would then
204 only interpret correctly if you fixed the syntax for them.
205 (@$!@#! Although the new code is probably more correct than
206 the old code anyway, so...) [#662806, Dan]
208 * Fixed a connection-handling bug that could cause problems
209 with servers that requested authentication and then timed
210 out the connection while the application was waiting for the
211 user to enter a password. [#660057, Dan]
213 * Made NTLM and Basic authentication handle some non-ASCII
214 usernames and passwords. (NTLM should handle most. It's
215 impossible to fix Basic in the general case.) [#576838,
216 Joachim Breitner, "sponsored by ITOMIG GmbH and the City of
219 * Added support for "deflate" Content-Encoding, so that we can
220 work with broken servers that insisted on using it even
221 though we explicitly indicated in the request headers that
222 we didn't support it. (@$#!#) [#661682, Sergio]
224 Changes in libsoup from 2.36.0 to 2.37.1:
226 * Fixed a problem with connections being assigned to multiple
227 requests at once after a redirection [#651146, Sergio]. Made
228 soup_session_pause/unpause_message() work in any state, not
229 just while the HTTP I/O is occurring, and used this to add a
230 test case for that bug. [Dan]
232 * Ported SoupSession to use GTlsDatabase internally, and added
233 two new properties, SoupSession:use-system-ca-file (to
234 specify that the session should use the default system
235 tlsdb) and SoupSession:tlsdb (to specify a specific tlsdb to
238 * Likewise, added SoupServer:tls-certificate, for specifying a
239 certificate/key for an https server to use.
241 * Made SoupHTTPInputStream use memory more efficiently.
244 * Fixed soup_message_get_https_status() to return information
245 more reliably (with latest glib-networking).
247 * Bumped the glib requirement to 2.30.0; although libsoup does
248 not use any new glib 2.30 APIs, there are several important
249 bugfixes in glib between 2.28 and 2.30 that libsoup needs.
250 Currently libsoup builds against either glib 2.30.x or glib
253 Changes in libsoup from 2.35.92 to 2.36.0:
255 * Improvements to gtk-doc documentation. [Dan]
257 Changes in libsoup from 2.35.90 to 2.35.92:
259 * Fixed a problem where SoupHTTPRequest response bodies could
260 be truncated. [#659256, Sergio]
262 * Fixed a bug in copying TLS information from SoupSocket to
263 SoupMessage, causing all https connections to be reported as
264 "untrusted" in epiphany. [Dan]
266 * Made SoupSession remove items from its host cache after a
267 while, so that if a host changes IP address, it will
268 eventually try to re-resolve it. [#646959, Sergio]
270 Changes in libsoup from 2.35.5 to 2.35.90:
272 * Added SOUP_MESSAGE_CAN_REBUILD flag, to use with
273 soup_message_body_set_accumulate(FALSE) on a request body,
274 to indicate that the caller will recreate the request body
275 after it has been discarded if the message needs to be
278 * Fixed the build on mingw-w64 by not using "interface" as
279 as variable name. [#656402, Erik van Pienbroek]
281 * (The multihosted https server regression mentioned in the
282 2.35.5 NEWS turned out to be a glib-networking bug, which is
283 fixed as of 2.29.18.)
285 Changes in libsoup from 2.35.4 to 2.35.5:
287 * Support NTLM single sign on via samba's /usr/bin/ntlm_auth.
288 [#650940, Mandy Wu]. This is enabled by default (if NTLM is
289 enabled for the session and the ntlm_auth binary is
290 available), but will fall back to the standard
291 password-based authentication if SSO fails.
293 * Default to TLS+extensions for https connections, falling
294 back to SSLv3-without-extensions (the old default) only if
295 the server fails to negotiate TLS. [#581342]
297 * As a result of this change, some users are currently
298 seeing problems with sites that serve multiple https
299 hosts from a single IP address (eg,
300 *.launchpad.net). There is no known workaround at
303 * Fixed a longstanding problem with https pages sometimes not
304 loading when using a proxy. [#631368, based on patches from
305 DongJae Kim and Thierry Reding]
307 * SoupContentSniffer: don't use gio's sniffing rules, since
308 the spec now recommends that browsers not do any additional
309 sniffing beyond what's in the spec. [#648846, "arno"]
311 * Fixed SoupRequestHTTP to work properly with alternate
312 GMainContexts. [#653707]
314 * Added some annotations from Vala's vapi files. [#655397,
315 Evan Nemerson]. Also, removed SoupProxyResolver from the
316 gir/typelib, since it had been deprecated since before
317 introspection was available, and it was being scanned wrong
320 Changes in libsoup from 2.35.3 to 2.35.4:
322 * CVE-2011-2524: Fixed a security hole that caused some
323 SoupServer users to unintentionally allow accessing the
324 entire local filesystem when they thought they were only
325 providing access to a single directory. [#653258]
327 * Plugged another SoupCache memory leak [Xan]
329 * Simplified SoupCache keys, and handle collisions. [#649963,
332 * Annotate SoupSession:add-feature, etc, as (skip), so they
333 don't conflict with the methods of the same name. [#655150,
336 Changes in libsoup from 2.34.1 to 2.35.3:
338 * SoupCache fixes [Sergio]:
340 * Don't store hop-by-hop headers [#650094]
342 * Fix status code and headers of responses returned
343 from the cache after being revalidated [#649965]
345 * Added versioning support to the cache file format
346 [#652554] and extended it to keep track of the
347 status code [#649965]
349 * Fixed storage of time values in the cache [#653349]
351 * Fixed a use-after-free that could result in bogus
352 data being written to the cache [#650620]
354 * Various leaks [#649309]
356 * Work around an Apache bug where it tells browsers to
357 automatically decode .gz files but still keep the .gz in the
360 * Fixed an overflow when sending a response larger than 2^31
361 bytes (eg, streaming movies in Rygel). [#638468, Jens Georg]
363 * Always send the Keep-Alive header, not just to hosts we
364 already know to be HTTP/1.0 [#648680, Sergio]
366 * Fixed various leaks [#652699, Sergio], [#651643, Milan],
369 * Minor build fix for Debian/Ubuntu [#648948]
373 Changes in libsoup from 2.34.0 to 2.34.1:
375 * Two multipart forms/Content-Disposition fixes [Dan]:
377 * UTF-8-encoded header encoding/decoding rules updated
378 to match RFC 5987. In particular, a UTF-8-encoded
379 filename parameter in Content-Disposition will now
380 override an ASCII one.
382 * When not using UTF-8-encoded filenames in
383 Content-Disposition, always quote the filename,
384 since some servers erroneously fail to handle
385 non-quoted ones. [#641280]
387 * Fixed several memory leaks [Dan, Xan]
389 * Fixed decoding base64 data: URLs [#646896, Sergio]
391 * Simplified the libsoup-gnome build on Windows by dropping
392 the gnome-keyring dependency. [Fridrich Štrba]
394 * Fixed a bug in soup_uri_to_string() in which (invalid) port
395 numbers could be output as negative numbers (tripping up a
396 WebKit "sanity checking" test). [#647767, Sergio]
398 * Fixed a cache corruption bug in SoupCache. [#648285, Sergio]
400 * Fixed a crash in SoupSessionSync when using
401 soup_session_abort().
403 Changes in libsoup from 2.33.92 to 2.34.0:
405 * Fixed the GMainContext handling of the new
406 SoupProxyResolverDefault (which among other things fixes
407 gstreamer usage inside epiphany). [#646201, Sebastian Dröge]
409 * Tweaked the introspection Makefile rules to fix a problem
410 building on Debian/Ubuntu. [#645505]
412 * Belated bumped the shared library versioning to reflect the
413 API additions since 2.32.0
415 Changes in libsoup from 2.33.90 to 2.33.92:
417 * LIBSOUP NO LONGER DEPENDS ON GCONF OR LIBPROXY.
420 * Added SoupProxyResolverDefault, which uses uses gio's
421 GProxyResolver to resolve proxies [#642982, Gustavo Noronha
422 Silva]. Despite the "default" in the name, it is not used by
423 default, for compatibility reasons, but it is available in
424 plain libsoup, not libsoup-gnome. (Of course, it depends on
425 having glib-networking installed.)
427 * Updated SoupProxyResolverGNOME to be based on
428 SoupProxyResolverDefault, but explicitly requesting the
429 "gnome" GProxyResolver if it is available [#625898], and
430 removed the old code that used GConf and libproxy directly.
432 * Added soup_server_disconnect(), to explicitly disconnect a
433 SoupServer, since it is not possible to g_object_unref() it
434 from memory-managed language bindings. [#638576, Andreas
437 * SoupDate now parses month names case-insensitively [#644048,
440 * Avoid a g_return_if_fail() when using
441 SOUP_COOKIE_JAR_ACCEPT_NO_THIRD_PARTY with non-http URIs
442 (file:, data:, etc). [#643226]
444 * SoupCookieJar now catches overflows when parsing very
445 distant dates [#643462, based on a patch from Mark
448 * Fixed a buggy interaction between request body streaming and
449 restarted requests [David Woodhouse]. Added some new tests
450 to tests/chunk-test.c to make sure that a specific
451 (unsupported!) way of using those methods would not get
452 broken in the future.
454 * Fixed soup_socket_get_remote_address(), which had been
455 broken since 2.33.4 (and which in turn caused
456 soup_client_context_get_address/_get_host to be broken).
459 Changes in libsoup from 2.33.6 to 2.33.90:
461 * Attempted to make libsoup's dependency on glib-networking
462 (for TLS support) more explicit, by requiring that
463 glib-networking be present at compile time unless the
464 builder explicitly passes "--disable-tls-check", and noting
465 that packagers should give libsoup a runtime dependency on
468 * Fixed a bug in talking to servers with virtual hosts with
469 Unicode names (IDNs) [#642075]
471 * Added a "Connection: Keep-Alive" header when talking to
472 HTTP/1.0 hosts, to improve performance. [#640414, Sergio
475 * Changed SoupCache to not cache multipart/x-mixed-replace
476 content. [#642028, Sergio Villar Senin]
478 Changes in libsoup from 2.33.5 to 2.33.6:
480 * Made SoupSessionAsync do idle-connection cleanup more
481 sanely, resulting in faster load times for pages with lots
482 of subresources. [#639768, Sergio Villar Senin]
484 * Fixed soup_form_decode()'s behavior (and by extension,
485 SoupServer query string handling) with datasets that contain
486 multiple values for the same key, and added a test case.
487 [#639783, Sven Neumann]
489 * Fixed warnings pointed out by gcc 4.6, including a bug in
490 SoupCache that would cause unnecessary revalidations
493 * Belated copied a fix from the WebKit copy of soup-cache.c
494 into ours, and fixed a bug in the local copy of
495 soup-request-data.c [#641022, Sergio Villar Senin], in
496 preparation for making WebKit use the libsoup versions.
498 Changes in libsoup from 2.33.4 to 2.33.5:
500 * Fixed certain cases of soup_session_cancel_message() with
501 SoupSessionSync that could previously cause warnings or
504 Changes in libsoup from 2.32.2 to 2.33.4:
506 * SoupSocket now uses GSocketConnection and GTlsConnection
507 internally rather than making socket calls directly and
508 using GIOStream, and TLS is handled via glib's APIs rather
509 than using gnutls directly.
511 * The gzip Content-Encoding handler is now implemented using
514 * As a result of the above two changes, libsoup no longer
515 directly depends on gnutls, libgcrypt, or zlib, though it
516 still indirectly depends on zlib via glib and libxml2. Also,
517 although libsoup does not depend on glib-networking as a
518 build-time dependency, some "make check" tests will be
519 skipped if it is not installed.
521 * The SoupRequest/SoupCache code from WebKit has been
522 imported, but it is not yet recommended for general use, and
523 is not necessarily API stable. [#523100, Sergio Villar, with
524 the SoupRequest parts based on the Summer of Code work by
525 Gabriel Corvalan and the cache parts based on an earlier
528 * Added SoupMessage:tls-certificate and
529 SoupMessage:tls-errors, which give more information about
530 the certificate used to authenticate a TLS connection.
532 * It is now possible to disable Basic or Digest auth in a
533 session by using soup_session_remove_feature_by_type() with
534 SOUP_TYPE_AUTH_BASIC or SOUP_TYPE_AUTH_DIGEST. Likewise, the
535 right way to enable NTLM support now is to call
536 soup_session_add_feature_by_type() with SOUP_TYPE_AUTH_NTLM;
537 SOUP_SESSION_USE_NTLM is now deprecated.
539 * Allow setting cookies on file:// URIs, since other browsers
540 do, and WebKit has a test for it. [#603825]
542 * .gir/.typelib files now include C header/library information
543 (needed by vala and some other bindings) [#635395, Evan
546 * Added annotations on soup_message_headers_get_content_type()
547 [Lucas Rocha] and SoupHTTPVersion [John Palmieri]
549 * Fixed a Set-Cookie processing leak [#636741, Jonathan
552 Changes in libsoup from 2.32.1 to 2.32.2:
554 * Fixed a regression in 2.32.0 that caused evolution-exchange
555 to get stuck and stop updating. [#634422]
557 * Fixed a regression in 2.32.0 with apps using asynchronous
558 sessions from multiple threads (in particular, gupnp)
561 * Fixed the regression test for #631525 to not cause spurious
562 "make check" failures on some machines.
564 Changes in libsoup from 2.32.0 to 2.32.1:
566 * Fixed a regression in 2.32.0 with the use of persistent
567 connections that caused spurious "Connection terminated
568 unexpectedly" errors. [#631525, debugged by Sergio Villar]
570 * Fixed a regression in 2.32.0 that caused proxy-related
571 DNS errors to return SOUP_STATUS_CANT_RESOLVE rather than
572 SOUP_STATUS_CANT_RESOLVE_PROXY.
574 * Usernames/passwords specified explicitly in request URIs now
575 override existing cached auth info. [#631679, Sergio Villar]
577 * Changed soup_uri_decode() and soup_uri_normalize() to just
578 ignore malformed %-encoding rather than returning NULL,
579 for consistency with soup_uri_new(). [#630540]
581 * Fixed soup_form_decode() to ignore invalid parameters,
582 and soup_form_encode_hash() to just g_return_if_fail()
583 rather than crashing if there are NULL values in the
586 * Added another workaround for stupid servers that close the
587 connection before returning the full response (in this case,
588 when using chunked encoding and failing to include the
589 final 0-length chunk). [#629160]
591 * Fixed a bug in SoupCookieJarText that deleted excess cookies
592 whenever any cookie expired. [#631641, Michał Kazior]
594 * Fixed a small leak in SoupContentDecoder if you were using
595 it incorrectly. [pointed out in email by Christophe
598 * Added regression tests for passwords-in-URIs [#631679,
599 Sergio Villar] and SOUP_SESSION_IDLE_TIMEOUT.
601 Changes in libsoup from 2.31.92 to 2.32.0:
603 * (No changes, just a version bump)
605 Changes in libsoup from 2.31.90 to 2.31.92:
607 * Updated for gobject-introspection 0.9.5. Also added some new
608 annotations and removed a bunch of private headers from the
611 * Percent-encoded characters in URIs are no longer
612 automatically normalized to uppercase, since apparently some
613 servers are stupid. [#628728, Sergio Villar Senin]
615 * Fixed a crash when resolving a URI containing both spaces
616 and non-UTF8 8bit characters. [#629449]
618 Changes in libsoup from 2.31.2 to 2.31.90:
620 * libsoup now tries to connect to each IP address associated
621 with a hostname, if the first one fails. In particular, if a
622 host has both IPv4 and IPv6 addresses, and only one of them
623 is reachable from the current host, libsoup will now try the
624 other one rather than failing. (libc is supposed to sort the
625 IP addresses in the right order, such that, eg, if you don't
626 have IPv6 connectivity, it will put the IPv4 address first.
627 For some reason though, this seems to be broken on some
630 * Fixed Accept-Language header generation in locales where ","
631 is used as the decimal point.
633 Changes in libsoup from 2.31.2 to 2.31.6:
635 * Disabled TLS 1.2 in addition to the already-disabled 1.1 and
636 1.0 [see below, in libsoup 2.27.2], thus making libsoup
637 usable with gnutls 2.10. [#622857. This commit, 01a43ad9,
638 can be applied to libsoup 2.30.x as well if you need that
639 release to work with gnutls 2.10.]
641 * When using libproxy 0.3 or newer, libsoup no longer leaks
642 proxy-related environment variables into child processes
645 * Changed the way message/connection binding works in
646 SoupSession so that (among other things), when there are
647 multiple requests queued to a host, and one of them gets a
648 network error, the other requests are still allowed to try
649 to succeed, rather than all failing immediately. [#619633]
651 * SoupSession now limits the number of times a message can be
652 redirected, to avoid infinite loops [#604383, José Millán
655 * Fixed handling of certain messages where the response
656 headers included "Connection: close" but the server did not
657 actually close the connection at the end. [#611481]
659 * Fixed some incorrect g-i annotations [#621021]
661 * Fixed an out-of-bounds memory access when processing certain
662 Set-Cookie headers [#620288]
664 * Improved msg->reason_phrase on network errors [#623274]
666 * Fixed gir file disting [#621727, Yaakov Selkowitz]
668 Changes in libsoup from 2.30.1 to 2.31.2:
670 * gobject-introspection has now been merged in. Use
671 --enable-introspection to build. [#576595, Andreas Rottmann]
672 Note that the introspected API is not yet stable, and in
673 particular, there are numerous values annotated as "utf8"
674 which are actually not guaranteed to be utf8. (Eg, most
677 * Added some helper functions for bindings:
678 soup_buffer_new_take(),
679 soup_message_body_append_take(), and
680 soup_buffer_get_data(). [#576595, Andreas Rottmann]
682 * Also added properties for several SoupMessage public
683 fields, and getter methods for various boxed types
684 (SoupCookie, SoupDate, SoupURI).
686 * Added some additional hash-table annotations.
687 [#619086, Gustavo Noronha Silva]
689 * Marked SoupSession abstract. [#617216, Lorenzo Gil, the
690 first bug filed by someone trying to use libsoup via
691 introspection!] Likewise for SoupAuth and SoupAuthDomain.
693 * Fixed a problem with SoupSessionAsync that would cause
694 messages to get lost if you aborted a previous message while
695 it was still looking up the hostname. Fixed several other
696 problems that were discovered while adding a regression test
697 for that. [#618641, thanks to Claudio Saavedra for a good
700 * Fixed another connecting-to-lame-http-server problem, and a
701 getting-stuck-in-a-loop-reconnecting bug that it revealed.
704 Changes in libsoup from 2.30.0 to 2.30.1:
706 * Fix for https through proxies that close the connection when
707 returning a "407 Proxy Authentication Required" response,
708 and add a regression test for that case. [#611663]
710 * Fixed multiple forms/multipart-related interoperability
711 problems reported by Egon Andersen:
713 * Don't quote the multipart boundary string if it's
714 not needed, since RFC 2616 recommends that you
715 don't, and some servers don't handle quotes there
716 correctly. (Sigh.) [#614176]
718 * Don't put an extra blank line before the first
719 multipart part, since it's unnecessary and some
720 servers don't handle a multipart preamble correctly.
723 * Don't put Content-Transfer-Encoding headers in the
724 multipart/form-data parts, even though the HTML 4
725 spec says you must, since no other browsers do, and
726 some servers don't handle them correctly. (Sigh.)
729 * Changed SoupCookieJarSqlite to actually erase deleted
730 cookies from the database. [#615711, Lukasz Slachciak]
732 * Fixed SoupLogger to be more robust against getting passed
733 bad data by the session. [#611663]
735 * Fixed SoupAuthDomain to ignore paths when doing proxy auth
737 * Fixed a g_warning when hovering over a javascript link in
738 WebKit. [#613442, Xan Lopez]
740 Changes in libsoup from 2.29.91 to 2.30.0:
742 * Fixed a crash in the whitespace-stripping code in
743 soup_uri_new() [#612644, "arnaud.lb"]
745 * Update content-sniffing algorithm to match Chrome and the
746 soon-to-be-updated sniffing spec. [#611502, Gustavo Noronha
749 * We now handle "Content-Encoding: x-gzip" as well as "gzip"
750 (even though "x-gzip" has been deprecated for more than 10
753 * Fixed leaks found by valgrind
755 * Make the "make check" programs only bind to 127.0.0.1, not
756 any public network interfaces. [#609489, Saleem Absulrasool]
758 * Add a test to sniffing-test to make sure that Content-Type
759 parameters are preserved correctly. [Gustavo Noronha Silva]
761 Changes in libsoup from 2.29.90 to 2.29.91:
763 * Added SOUP_SESSION_SSL_STRICT and
764 SOUP_MESSAGE_CERTIFICATE_TRUSTED, to allow callers to
765 determine if an https response comes from a server with a
766 recognized/valid or unrecognized/invalid certificate.
767 [#610374, Gustavo Noronha Silva]
769 * Fixed handling of certain badly-formatted URIs [#590524]
771 Changes in libsoup from 2.29.6 to 2.29.90:
773 * Added soup_cookie_jar_set_accept_policy() and related API
774 for implementing cookie acceptance policies. [#608353, Xan
777 * Fixed the "request-read" signal in SoupServer to actually be
780 Changes in libsoup from 2.29.5 to 2.29.6:
782 * Fixed SoupContentDecoder to ignore trailing junk after the
783 encoded message body (as other browsers do), rather than
784 getting stuck in an infinite loop. [#606352]
786 * Fixed an invalid read in soup_cookie_applies_to_uri()
787 [#607024, pointed out by Xan]
789 * Fixed linking on OS X [#606959]
791 * Removed a harmless warning in SoupServer. [#606645]
793 Changes in libsoup from 2.29.3 to 2.29.5:
795 * Added SoupContentDecoder, providing support for
796 Content-Encoding: gzip for WebKitGTK. [#522772]
798 * Added "accept-language" and "accept-language-auto"
799 properties to SoupSession, to support the Accept-Language
800 header. [#597004, Mario Sanchez Prada]
802 * Fixed a bug in SoupPasswordManagerGNOME that could cause
803 crashes if you typed the wrong password once and then tried
804 again. [#595554, debugged by Gustavo Noronha Silva]
806 * Fixed a crash in SoupAuthDigest if the server claims support
807 for both qop=auth and qop=auth-int. (This was not noticed
808 sooner because no one actually supports qop=auth-int, and
809 the server in question here was probably confused. :)
811 * Updated cookie parsing/output to more closely match
812 draft-ietf-httpstate-cookie-00. [Also fixes #603496 (WebKit
813 unit test), and #604794 (hang parsing malformed Set-Cookie
816 * Fixed https-via-proxy to not hang if there is an error
817 communicating with the proxy immediately after the TLS
818 negotiation. [#587528]
820 * Fixed a bug that broke gobject-introspection's introspection
821 of libsoup. [#603696, Vincent Untz]
823 * Handle spurious CR/LFs between responses. [#602863,
824 Alexander V. Butenko]
826 * Fixed soup-message-client-io to not erroneously include URI
827 fragments on the Request-Line when sending via a proxy.
828 [Related to WebKit bug #28687]
830 * Fixed Digest authentication against certain (buggy?)
831 clients/servers that require you to use quotes in exactly the
832 same places where the spec uses them. [#582219]
834 * Fix ugly gtype-related hack to work with the latest unstable
835 glib. [Benjamin Otte]
837 Changes in libsoup from 2.28.1 to 2.29.3:
839 * Fixed a crash in SoupCookieJarSqlite when using cookie
840 databases not created by libsoup (eg, upgraded epiphany
841 installations). [Patch from Emilio Pozuelo Monfort]
843 * Fixed SoupCookieJar to handle non-http URIs properly (so
844 that, eg, JavaScript bookmarklets that try to set/read
845 cookies won't cause crashes). [#602498]
847 * HEAD requests that receive a "303 See Other" response will
848 now do a HEAD, not a GET, on the redirected-to resource.
849 Fixes gvfs access to some sites, including certain
850 youtube.com URIs. [#600830]
852 * Fixed a g_warning that would always trigger in the
853 server-side SoupCookie code. [#602389]
855 * Fixed the server-side SoupMultipart code to be able to parse
856 multiparts containing binary attachments, rather than
857 rejecting them as malformed. [#601640]
859 * Fixed the Request-Line format in the https-over-proxy case.
860 Among other things, this fixes access to bugzilla.gnome.org
861 from WebKitGTK-based browsers. [#598277, #600826]
863 * Fixed a leak in SoupSession if a message was cancelled while
864 the initial socket connection was in progress. [#596074,
865 debugged by Arnout Vandecappelle]
867 * Fixed server-side parsing of Digest auth. [#602898, Chris
870 * Fixed WinSock initialization on Windows. [#600689, Tor
873 * Fixed a sporadic crash in the SSL code on Windows. [#600748,
876 * Fixed handling of https connections with timeouts on
877 Windows. [#600749, Tor Lillqvist]
879 * Added soup_session_prepare_for_uri(), to allow DNS
880 prefetching for faster browsing. [#598948, José Millán Soto]
882 * SoupSession now avoids redundant DNS lookups again when
883 first connecting to a new site, resulting in (probably
884 imperceptibly) faster loads.
886 * Added some debugging APIs to SoupConnection and SoupSession
887 for use by, eg, epiphany's soup-fly extension. [#589163,
890 Changes in libsoup from 2.28.0 to 2.28.1:
892 * libsoup will now attempt to make multiple connections to a
893 server at once when there are multiple messages queued to
894 that server. The previous behavior (only allowing a single
895 pending connection to each server) resulted in slow load
896 times on pages with lots of subresources (images, css, js,
897 etc) on servers that disallow persistent connections.
900 * There should now be fewer (no?) "Connection terminated
901 unexpectedly" errors in WebKitGTK.
903 * Fixed a crash in SoupCookieJarSqlite [#596859, patch from
906 * Fixed soup_address_get_physical() and address-to-name
907 resolution of SoupAddress [patch from Enrico Tröger].
909 * Fixed a bug in SoupContentSniffer that could cause false
910 negatives [#597545, patch from Alejandro Castro].
912 * Fixed the configure error if you have gnutls-devel but not
913 gcrypt-devel installed [#587709].
915 Changes in libsoup from 2.27.92 to 2.28.0:
917 * Fixed a handful of leaks found with valgrind, including a
918 large one in SoupContentSniffer [WebKit bug 28148].
920 * Changed the behavior of SoupCookieJarSqlite to improve
921 performance. [#584522, patch from Gustavo Noronha Silva]
923 * Fixed a crash in SoupSocket that affected gupnp. [#594951,
924 patch from Olivier Crête]
926 * Fixed the type of the SOUP_METHOD_* and SOUP_URI_SCHEME_*
927 macros to be const char * rather than gpointer. [#594508]
929 Changes in libsoup from 2.27.91 to 2.27.92:
931 * Removed SoupPasswordManager from the public API until its
932 problems can be addressed. Although it is still present, you
933 need to #define a special symbol for it to be visible in the
934 header files; see #594377 for details.
936 * Fixed a bug where empty query components were dropped from
939 * Fixed "make check" to work (but warn) when building with
942 * Fixed some small documentation bugs pointed out by Dominik
943 Bylica and Lucian Langa.
945 Changes in libsoup from 2.27.90 to 2.27.91:
947 * Added SoupPasswordManager, an interface for managing
948 persistent password storage, and SoupPasswordManagerGNOME
949 (in libsoup-gnome), which implements it using gnome-keyring.
950 tests/get.c provides a minimal example of how to use it.
952 * libsoup should now notice when the server closes a
953 persistent connection, and close its side of the connection
954 sooner. This should hopefully fix the spurious "Connection
955 terminated unexpectedly" errors in WebKitGTK. [#578990]
957 * Fixed some problems with connection management in
958 SoupSession that could cause a session to eventually "stall"
959 and be unable to process new requests. [#592084]
961 * Fixed an infinite loop that caused 100% CPU usage if the
962 network went down at exactly the right time while there were
963 unsent messages in the queue. [#592492]
965 * Fixed a crash in SoupLogger. [#591857]
967 * Fixed the definition of soup_message_is_keepalive() for
968 HTTP/1.0 messages, to fix a problem introduced in 2.27.90
969 where some messages would load completely but never emit
972 * Fixed a crash in SoupServer introduced in 2.27.90 when
973 processing a request with no "Host" header.
975 Changes in libsoup from 2.27.5 to 2.27.90:
977 * libsoup now uses glib's GResolver rather than its own DNS
978 code. For 2.27.90, the only visible change should be that
979 internationalized domain names are now supported. [#548287]
981 * Added soup_message_disable_feature(), which allows you to
982 disable particular features (eg, cookies, proxy,
983 content-sniffing, etc) on a per-message basis. [#574773]
985 * It is now possible to implement "OPTIONS *" in a SoupServer;
986 you must explicitly register a handler for "*" in order to
989 * Ignore Content-Length on EOF-terminated responses, to match
990 other browsers and therefore cope with broken servers that
991 send the wrong length. [Patch from Benjamin Otte.]
993 * Fixed the status code when trying to fetch an https URI with
994 a non-gnutls build of libsoup. [#590464]
996 * Fixed strict-aliasing warnings introduced in 2.27.4
999 * Fixed some warnings noted by fortify [#591226] and -Wextra.
1001 * libsoup now uses automake 1.11's silent-rules support by
1002 default (if you are building with automake 1.11). Use
1003 "./configure --disable-silent-rules" or "make V=1" to
1006 Changes in libsoup from 2.27.4 to 2.27.5:
1008 * Fixed a crash when a web server redirected a request to a
1009 non-http URI (eg, "about:blank"). [#528882]
1011 * Fixed a hang when trying to create an attachment on certain
1012 bugzilla installations from epiphany. [#584645]
1014 * Fixed verification of V1 TLS certificates [#589323, Patrick
1017 * Fixed compile problems on Windows (in the ssl code), and on
1018 Linux (when the most recent version of gtk-doc was
1021 Changes in libsoup from 2.27.2 to 2.27.4:
1023 * Added SoupContentSniffer and the "content-sniffed" signal on
1024 SoupMessage, to do Content-Type sniffing per the HTML5 /
1025 draft-abarth-mime-sniff algorithm. [#572589, Gustavo Noronha
1028 * Updated the earlier SoupSession timeout fixes ([#574414],
1029 [#578928]) so that async connect() also times out [#588177,
1030 Mark Nauwelaerts] and SSL works on Windows again [#587910,
1033 * Fixed the behavior on a 301 response to a POST to match
1034 real-world usage rather than what the spec says. (We were
1035 doing the right thing on 302 and 303, but had missed 301.)
1038 * Changed configure so that if GNUTLS isn't found then it
1039 errors out, rather than silently building an SSL-less
1040 libsoup. Configure with --disable-ssl if you actually don't
1043 Changes in libsoup from 2.27.1 to 2.27.2:
1045 * Replaced SoupProxyResolver with SoupProxyURIResolver, which
1046 is a bit simpler, works with non-HTTP URIs (and so could be
1047 used by gvfsd-ftp) and supports proxy auth correctly.
1050 * Fixed SoupSession to not try to resolve http server
1051 hostnames when it's just going to pass the hostname off to a
1052 proxy server anyway. This fixes things on hosts that use a
1053 proxy for everything and have no working DNS config
1054 [#577532] and also makes WebKitGTK behave more like other
1055 browsers in terms of per-host connection limits (we now
1056 limit connections based on hostname rather than on IP
1059 We also no longer set the AI_CANONNAME flag when calling
1060 getaddrinfo(), which saves us a little bit of unnecessary
1061 network traffic. [Pointed out by Christophe Gillette on the
1064 * libsoup now always uses SSL 3.0 (not TLS 1.0 or 1.1) for
1065 https URIs, to work around problems with older servers that
1066 don't implement the (apparently quite confusing) TLS/SSL
1067 compatibility rules correctly. Makes a bunch of
1068 previously-inaccessible sites now accessible in WebKitGTK
1069 (notably PayPal) [#581342]. Will eventually be revisited, to
1070 first try TLS 1.1 and fall back if that fails.
1072 * Fixed Digest auth to (recent) Apple CalDAV servers.
1075 * Changed the way the SoupSession "authenticate" signal works
1076 a bit. We now never emit "authenticate" before sending a
1077 request, even if we know for sure that it's going to fail,
1078 because this makes the semantics of the authenticate handler
1079 too complicated (and because we'll only get into this
1080 situation if a previous call to the authenticate handler
1081 failed anyway). Fixes problems in WebKitGTK when you cancel
1082 a password dialog, and then later try to load the page
1083 again. [#583462, mostly figured out by Gustavo Noronha
1086 * Fixed a bug in the CRLF-vs-LF patch (#571283) that caused
1087 libsoup to fail to parse the response headers (returning
1088 SOUP_STATUS_MALFORMED) if a CR LF got split across two
1091 * Allow using PUT in soup_form_request_for_data(), to work
1092 with certain broken web APIs. [#581860, Ross Burton]. Also,
1093 fixed a problem with empty POST bodies that made some parts
1094 of gmail not work in WebKitGTK.
1096 * Applied some minor bugfixes to configure.in and autogen.sh
1097 [#583911, #583942]. Fixed configure.in to not use gcc
1098 warning options that the installed version of gcc doesn't
1099 recognize [#578851].
1101 * Added G_GNUC_NULL_TERMINATED and G_GNUC_PRINTF to a few
1102 methods that should have had them. [#581754, Ross Burton]
1104 Changes in libsoup from 2.26.1 to 2.27.1:
1106 * SOUP_SESSION_TIMEOUT now works properly with
1107 SoupSessionAsync [#574414] and SSL [#578928]. Added
1108 tests/timeout-test to test this.
1112 * soup_date_to_string() now handles SOUP_DATE_RFC2822
1113 [#579055, Enrico Tröger]
1115 * soup_date_new_from_string() now accepts 24:00 as a
1116 time in ISO8601 timestamps
1118 * soup_date_to_string() now coerces the date to UTC
1119 for HTTP and cookie dates, and outputs the UTC
1120 correct offset for the other date types.
1122 * Added regression tests to tests/date
1124 * soup_headers_parse() now completely ignores
1125 syntactically-incorrect headers, rather than passing them to
1126 soup_message_headers_append() and causing a g_warning.
1127 soup_message_headers_append() now also rejects 0-length
1128 header names. Updated tests/header-parsing to check this.
1131 * Fix a crash when cancelling a message from a "restarted"
1132 handler, and updated a regression test to notice the
1133 underlying cause. [#580193]
1135 * Completing the API updates for #576760 from 2.26.1,
1136 soup_message_headers_get() is now marked deprecated in favor
1137 of soup_message_headers_get_one() and _get_list().
1139 Changes in libsoup from 2.26.0 to 2.26.1:
1141 * libsoup uses libproxy for PAC and WPAD proxy resolution
1142 again. However, it arranges to do all communication with
1143 GConf itself, to ensure that libproxy doesn't call it in
1144 non-thread-safe ways. [#571527] Also, fixed a bug in
1145 SoupSessionSync when proxy resolution failed. [#574957,
1146 patch from Milan Crha].
1148 (Also fixed three SoupProxyResolverGNOME bugs since the
1149 2.26.0.9 preview release. [#578746, #578809])
1151 * SoupURI now handles unencoded spaces in URIs. In particular,
1152 redirects via Location headers with spaces in them now work.
1155 * libsoup can now deal with servers (and clients) that
1156 erroneously use LF LF instead of CR LF CR LF to separate
1157 the headers and body. [#571283]
1159 * Added soup_message_headers_get_one() and
1160 soup_message_headers_get_list(), which will eventually
1161 deprecate soup_message_headers_get(). This lets applications
1162 deal correctly with implementations that erroneously send
1163 multiple copies of single-valued headers. [#576760]
1165 * In particular, soup_message_headers_get_content_type() now
1166 ignores duplicate Content-Type headers [#576760] and also
1167 ignores syntactically-incorrect Content-Type headers.
1170 * SoupCookieJar can now store multiple cookies with the same
1171 domain and name, but different paths. [#577360]
1173 * Abnormal SSL connection closes are now treated as ordinary
1174 EOFs, for compatibility with certain sites. [#577386]
1176 * soup_header_g_string_append_param() now allows NULL values.
1179 * soup_message_headers_append() now rejects header names and
1180 values with newlines or certain other illegal data in them,
1181 rather than generating syntactically invalid headers.
1183 * Fixed a small bug in soup_date_new_from_string's ISO 8601
1184 handling [qv #578369 for g_time_val_from_iso8601].
1186 * The regression tests now work correctly on machines where
1187 "localhost" resolves to "::1" instead of "127.0.0.1".
1188 [#576583, patch from Andreas Rottmann]
1190 * Fixed warnings when a message has a network problem when
1191 many other messages are queued. [#578809]
1193 * Miscellaneous documentation fixes/clarifications.
1195 Changes in libsoup from 2.25.91 to 2.26.0:
1197 * Temporarily disable libproxy support to work around a bug in
1198 its gnome plugin that causes gvfsd-http (and probably
1199 eventually other apps) to crash. [#571527]. For now,
1200 SoupProxyResolverGNOME uses only GConf. To be fixed in
1203 * Fixed a bug that showed up in WebKit, where if many messages
1204 were queued all at once to a server that doesn't support
1205 persistent connections, some of the requests will get lost.
1206 #574365, reported by Xan Lopez.
1208 * Fixed SoupServer to support using SOUP_ENCODING_EOF, so you
1209 can stream responses of unknown length to HTTP/1.0 clients.
1210 [#572153]. Added a regression test for this, and for chunked
1211 and Content-Length-based streaming.
1213 * Fixed several bugs that prevented SoupCookieJarSqlite from
1214 working. [#572409, patch from Xan Lopez]
1216 * Added G_{BEGIN,END}_DECLS guards to public headers that were
1217 missing it. (Xan Lopez)
1219 * Misc gtk-doc improvements
1221 Changes in libsoup from 2.25.5 to 2.25.91:
1223 * Fixed a crash in SoupProxyResolverGNOME when the proxy
1224 requires authentication. (This does not make proxy
1225 authentication *work* yet, it just makes it not crash.)
1227 * Updated documentation
1229 Changes in libsoup from 2.25.4 to 2.25.5:
1231 * SoupProxyResolverGConf (which was incomplete) is gone, and
1232 libsoup-gnome now requires libproxy, which is now officially
1233 an external dependency of GNOME.
1235 * Fixed a bug in SoupCookieJar that was making it send
1236 "Cookie: (null)" when it had no cookies for a site, which
1237 confused some web servers (WebKit bug 23240).
1239 * Fixed a bug with using SOUP_MEMORY_TEMPORARY buffers and
1240 soup_message_body_set_accumulate(FALSE). (Part of WebKit bug
1241 18343, noticed by Gustavo Noronha Silva.)
1243 * Fixed the build with non-gcc compilers
1245 Changes in libsoup from 2.25.3 to 2.25.4:
1247 * Added soup_session_get_feature() and
1248 soup_session_get_features(), to query the features currently
1249 available in a session (which is needed by the patch in
1250 https://bugs.webkit.org/show_bug.cgi?id=22624)
1252 Changes in libsoup from 2.25.2 to 2.25.3:
1254 * Fixed a crash when using both cookies and a proxy. [#562191,
1257 * Fixed soup_form_decode() to correctly handle forms with
1258 URI-encoded parameter names [#563302, Evan Nemerson] and
1259 added a regression test.
1261 * Fixed a crash in SoupProxyResolverGConf. [#563145]
1263 Changes in libsoup from 2.25.1 to 2.25.2:
1265 * Fixed client behavior when presented with multiple auth
1266 types to choose the *strongest* auth type (eg, Digest)
1267 rather than the *weakest* one [#562339, Pontus Oldberg].
1268 Added a regression test for this.
1270 * Moved libsoup-gnome headers to a different directory to make
1271 it easier to split libsoup and libsoup-gnome into separate
1272 packages, and to ensure that things that only want to be
1273 looking at plain libsoup headers (like gir-repository) don't
1274 accidentally see the libsoup-gnome ones.
1276 * Some minor doc fixes
1278 * Fixed libsoup-gnome linking with --as-needed. [#559342]
1280 Changes in libsoup from 2.24.1 to 2.25.1:
1282 libsoup 2.25.1 introduces a new library, libsoup-gnome, which
1283 will be used for features which are important to GNOME apps,
1284 but which require GNOME-specific libraries that non-GNOME apps
1285 may not want to add dependencies on.
1287 In 2.25.1, libsoup-gnome contains:
1289 * SOUP_TYPE_PROXY_RESOLVER_GNOME, a SoupSessionFeature
1290 type that can be added to a SoupSession to provide
1291 automatic proxy handling via the GConf proxy keys. (See
1292 below) The default implementation uses libproxy, which
1293 also handles WPAD, PAC, etc, but if libproxy is not
1294 available it will use GConf directly, supporting only
1295 the basic HTTP proxy functionality.
1297 * SoupCookieJarSqlite, a SoupSessionFeature that handles
1298 cookies and stores them in a Firefox 3-compatible sqlite
1299 file. (This is not actually a "GNOME-specific" feature,
1300 but I didn't want to make libsoup itself depend on
1301 sqlite, and I didn't want to make the dependency
1302 optional. This might change before 2.26.)
1304 * SOUP_TYPE_GNOME_FEATURES_2_26: a SoupSessionFeature type
1305 that can be added to a SoupSession to add all
1306 GNOME-integration features that are available for 2.26;
1307 as of 2.25.1, this is just the GNOME proxy resolver, but
1308 by 2.26.0 it may also include gnome-keyring support and
1309 possibly other features.
1311 Applications/libraries that are currently doing GConf proxy
1312 lookup by hand can be updated as follows:
1314 * Remove all of the existing code that listens to the
1315 GConf keys and sets SOUP_SESSION_PROXY_URI
1317 * Change the configure check to require
1318 "libsoup-gnome-2.4 >= 2.25.1" instead of "libsoup-2.4"
1320 * #include <libsoup/soup-gnome.h>
1322 * After creating your SoupSession, do:
1324 soup_session_add_feature_by_type (session, SOUP_TYPE_PROXY_RESOLVER_GNOME);
1326 (Or alternatively, use SOUP_SESSION_ADD_FEATURE_BY_TYPE
1327 with soup_session_async_new_with_options() or
1328 soup_session_sync_new_with_options().)
1331 Other new features and bug fixes in 2.25.1 include:
1333 * SoupCookieJarText, like SoupCookieJarSqlite, but using the
1334 old-style cookies.txt format, and in the base libsoup rather
1337 * Various bugfixes to SoupCookie and SoupCookieJar to fix the
1338 problems with cookies not working on certain sites.
1340 * The new SoupMultipart type provides support for multipart
1341 MIME bodies, and soup-form now includes several methods for
1342 generating and parsing multipart form data and file uploads.
1344 * SoupMessageHeaders now has methods for easy handling of the
1345 Content-Type, Content-Disposition, Range, and Content-Range
1346 headers. The Content-Disposition handling recognizes
1347 RFC2231-encoded UTF-8 filenames.
1349 * SoupServer now automatically handles partial GET requests;
1350 if your server returns SOUP_STATUS_OK in response to a
1351 partial GET, libsoup will automatically convert it to a
1352 SOUP_STATUS_PARTIAL_CONTENT response with only the requested
1355 Thanks to Xan Lopez and Diego Escalante Urrelo for their work
1356 on SoupCookie, SoupCookieJar, SoupCookieJarText, and
1357 SoupCookieJarSqlite.
1359 Changes in libsoup from 2.24.0.1 to 2.24.1:
1361 * Fixed a crash when unreffing the session from a
1362 soup_session_queue_message() callback [#533473], and added
1363 regression test. In particular, this fixes a crash in
1364 seahorse when trying to connect to a non-responsive
1367 * Fixed an infinite loop when giving a bad password to a site
1368 that uses non-standard capitalization in the
1369 WWW-Authenticate header (eg, gmail.com) [#536285].
1371 * Fixed a leak in SoupSessionAsync when using a non-default
1372 GMainContext. [addendum to #498509, Arnout Vandecappelle]
1373 Added additional code to the regression tests to make sure
1374 sessions and servers do not get leaked.
1376 * Fixed a leak in the XML-RPC code
1378 * Compile fixes for "gcc -pedantic" [#553976, Sander Dijkhuis]
1379 and -DG_DISABLE_DEPRECATED / -DG_DISABLE_SINGLE_INCLUDES
1380 [#557072, Cosimo Cecchi]
1382 * Patched xmlrpc-test to accept the incorrect response to
1383 test_echo() that php-xmlrpc gives when it's built against
1384 libxml2 >= 2.7.1 (qv http://bugs.php.net/45996), so that
1385 I can "make distcheck"...
1387 * Updated generated documentation
1389 Changes in libsoup from 2.23.92 to 2.24.0.1:
1391 * Reverted part of the fix for #528882, which caused the DAAP
1392 plugin in rhythmbox to crash. [#553466]
1394 Changes in libsoup from 2.23.91 to 2.23.92:
1396 * Fixed the handling of a 302 response to a HEAD request,
1397 which should NOT be treated like a 303 response. [#551190,
1400 Changes in libsoup from 2.23.6 to 2.23.91:
1402 * Fixed a crash in gvfs [#528882], though there is still an
1403 unknown bug there. As part of this fix, libsoup will now
1404 return an error if you try to do an operation on a non-HTTP
1405 URI. (Previously it was just treating any URI scheme except
1408 * Added soup_date_to_timeval() for gvfs. [#549006, patch from
1411 Changes in libsoup from 2.23.1 to 2.23.6:
1413 * Fixed use of g_idle_add() so that heavy I/O won't end up
1414 blocking libsoup callbacks. [#536676, Benjamin Otte]
1416 * Allow the caller to override the Host header. [#539803, Marc
1419 * Properly handle responses larger than 4G. [#539861, Peter
1422 * Fixed the build when using certain LDFLAGS [#541506, Götz
1425 * Fixed a small bug in Digest auth handling. [#544681, Mads
1428 * Fixed multiple Windows bugs [Tor Lillqvist]
1430 Changes in libsoup from 2.4.1 to 2.23.1:
1432 * This is the first unstable release leading up to GNOME 2.24.
1433 Bumped the libsoup version number up to 2.23.x to match the
1434 GNOME version; note that the API version is still "2.4",
1435 meaning in particular that you still call it "libsoup-2.4"
1436 when using pkg-config.
1438 * Added SoupSessionFeature, an interface type that will be
1439 used for several new features. Ported SoupLogger and
1440 SoupAuthManager to use it.
1442 * Added SoupCookie and SoupCookieJar. This API is already
1443 being used in Epiphany, via WebKit, but it is not yet
1446 * Fixed GnuTLS support on Win32. [#528752, Marc Maurer]
1448 Changes in libsoup from 2.4.0 to 2.4.1:
1450 * Fixed SoupMessage to not downgrade to HTTP/1.0 for the
1451 second attempt when it receives an HTTP/1.0 redirect or 401.
1452 [#521848, Tommu Komulainen]
1454 * Fixed Host: header syntax when the host is an IPv6 address
1457 * Fixed SoupSession to not emit "authenticate" multiple times
1458 for messages that have been requeued. [#522601, Tommi
1459 Komulainen]. Also added two new signals to SoupSession,
1460 request-queued and request-unqueued, to help simplify
1461 certain session-helpers and avoid bugs like this in the
1464 * Fixed soup_server_pause_message() to actually work (rather
1465 than *un*pausing the message).
1467 * Added a property SOUP_SESSION_IDLE_TIMEOUT that can be used
1468 to set a timeout after which idle connections will
1469 automatically be closed. [#518214, Jorn Baayen]
1471 * Implemented RFC 2069-style Digest auth, and fixed SoupAuth
1472 to compare auth scheme names case-insensitively, to fix
1473 authentication against Apple's calendar server. [#498484]
1475 * Fixed a crash in SoupAuthDomainDigest if the client provided
1476 an unrecognized username. [pointed out by Curtis Magyar on
1479 * Fixed a few SoupDate bugs. (In particular, it was outputting
1480 the wrong day of the week when stringifying dates.)
1482 * Improved the cleanup of idle connections, to fix slow load
1483 times with the libsoup backend of WebKit.
1485 * Added a new SoupMessage signal "wrote-body-data" that can be
1486 used for progress information when sending a large request
1487 body. Also allow providing the request body in multiple
1488 chunks even when using Content-Length encoding. [#525101,
1491 * libsoup now ignores SIGPIPE globally, instead of
1492 un-thread-safe-ly ignoring it only around network writes. In
1493 particular, this means it is ignored when the SSL code needs
1494 to unexpectedly do a write when we asked it to do a read.
1495 [#524397, Curtis Magyar]
1497 * The discard-body-chunks-once-they're-no-longer-needed
1498 behavior, confusingly called SOUP_MESSAGE_OVERWRITE_CHUNKS,
1499 is now controlled by a SoupMessageBody method
1500 (soup_message_body_set_accumulate()), and can be applied to
1501 either the request body or the response body.
1502 (OVERWRITE_CHUNKS is still available for backward
1503 compatibility.) [#522146, Christian Kellner]
1505 * The DNS cache no longer caches "no such host" results, since
1506 some name servers lie to clients outside their firewall,
1507 which could then cause problems for laptops moved between
1508 networks. [#523269, Jörgen Scheibengruber]
1510 * Added some new regression tests, fixed some small bugs in
1513 Changes in libsoup from 2.3.4 to 2.4.0:
1515 * Fixed a small memory leak in SoupSession. [#518798, Wouter
1518 * Minor fixes to redirect behavior; PROPFINDs can now be
1519 automatically redirected (pointed out by Christian Kellner),
1520 and 302 is treated like 307, not 303. Also fixed to make
1521 sure that redirect-test actually gets run by "make check".
1523 * The SoupSocket I/O methods now set nread/nwrote even on
1524 error. [Benjamin Otte]
1526 Changes in libsoup from 2.3.2 to 2.3.4:
1528 * The documentation should be accessible from devhelp again
1529 [#518384, Mart Raudsepp]. (Also fixed another
1530 documentation-generation bug that affected builds from svn,
1531 but not the 2.3.2 tarball for some reason. [#518317,
1534 * Fixed dependencies in libsoup-2.4.pc file [#517631,
1537 Changes in libsoup from 2.3.0.1 to 2.3.2:
1539 API changes / Behavior changes:
1541 * soup_server_add_auth_domain() now refs the auth domain when
1542 adding it. (soup_server_remove_auth_domain() already
1543 unreffed it.) This means existing applications using
1544 SoupAuthDomain will now have a small memory leak. Those
1545 applications should update their libsoup-2.4 requirement to
1546 ">= 2.3.2" at some point before the final GNOME 2.22.0
1547 release, and then fix the code to unref the auth domain
1548 after adding it to the server.
1550 * SoupSession's automatic redirect-handling behavior now obeys
1551 RFC 2616 more closely. In particular, status codes 300 and
1552 304 are no longer mistakenly considered redirects; POSTs
1553 that receive 303 are now redirected into GETs; and POSTs
1554 that receive 301, 302, or 307 are now not redirected.
1556 Applications that were using the SOUP_MESSAGE_NO_REDIRECT
1557 flag to prevent libsoup from redirecting POSTs incorrectly
1558 before should now be able to remove that if they depend on
1559 libsoup-2.4 >= 2.3.2.
1563 * Added a SOUP_SESSION_USER_AGENT property to SoupSession, and
1564 SOUP_SERVER_SERVER_HEADER to SoupServer, to support
1565 automatically adding "User-Agent" and "Server" headers to
1566 messages. (The default behavior is to do nothing, as
1569 * Added several new methods to soup-forms.h. Applications that
1570 are encoding a fixed set of form fields can now just pass
1571 them to soup_form_encode(), rather than needing to construct
1572 a GHashTable or GData list. (Likewise, the new
1573 soup_uri_set_query_from_fields() behaves similarly for
1574 directly updating a URI with form data.) There are also now
1575 soup_form_request_new() and other related methods, to
1576 directly create a GET or POST SoupMessage for submitting a
1579 The original soup_form_* methods have all been renamed,
1580 although #defines exist for backward compatibility.
1582 * Added soup_message_set_chunk_allocator() and
1583 soup_buffer_new_with_owner(), to give applications more
1584 control over memory usage/copying when doing streaming HTTP.
1585 [Wouter Cloetens, #513810].
1587 * Added several new methods to soup-value-utils.h for working
1588 with multiple array or hash table values at once:
1589 soup_value_hash_new_with_vals(),
1590 soup_value_hash_insert_vals(),
1591 soup_value_hash_lookup_vals(),
1592 soup_value_array_new_with_vals(), and
1593 soup_value_array_append_vals().
1595 This helps to simplify XML-RPC calls that send or receive
1598 * Added soup_date_to_time_t().
1600 * Added SoupMessageHeadersIterator, an iterator type for
1601 SoupMessageHeaders that can be used instead of
1602 soup_message_headers_foreach().
1606 * Fixed a crash-when-idle in evolution-exchange [#437835] and
1607 rhythmbox [#506552].
1609 * Added the API version to the gtk-doc installation dir, to
1610 prevent parallel-installation problems with libsoup 2.2 and
1611 2.4. [#512810, Daniel Gryniewicz].
1613 * Fixed tests/query-test to compile correctly on Solaris.
1614 [#513602, patch from Jeff Cai]
1616 * Fixed some other minor HTTP conformance issues.
1620 * Although not present in the release tarball, there are now
1621 experimental python bindings for libsoup in GNOME subversion
1622 (in the python/ subdirectory of libsoup trunk). These are
1623 not yet stable (and are not built by default or installed
1624 even when building from svn), but comments on them are
1625 welcome at libsoup-list@gnome.org
1627 Changes in libsoup from the 2.2 series to 2.3.0.1:
1629 libsoup 2.3.0 is the first beta release of the libsoup 2.4
1630 series. It is an API break from the earlier 2.2 series that
1631 fixes various bugs and API warts and lays the groundwork for
1632 language bindings and various new features in upcoming
1635 (2.3.0.1 is identical to the 2.3.0 release in terms of code,
1636 but includes this updated NEWS file which was accidentally
1637 left out of the 2.3.0 tarball.)
1639 http://library.gnome.org/devel/libsoup/unstable/libsoup-porting-2.2-2.4.html
1640 goes over the API changes in detail. If you have questions not
1641 answered by the porting document, please send mail to
1642 libsoup-list@gnome.org.
1644 Specific user-reported bugs fixed in this release:
1646 * SoupURI now correctly handles URIs with complex encoded
1647 queries [#266516, Jean-Yves Lefort]
1649 * It is now possible for a SoupServer to use Digest auth
1650 without needing to have the cleartext password available.
1651 [#347108, Anas Nashif]
1653 * Digest authentication now properly handles "stale=true" and
1654 "nextnonce=..." [#471380, Jari Urpalainen]
1656 * SoupServer is now subclassible [#491653, Mathias Hasselmann]
1658 * soup_server_run_async and soup_server_quit no longer ref and
1659 unref the server, as that doesn't match ordinary GObject
1660 conventions [#494128, Mathias Hasselmann]
1662 * The test programs no longer use a symbol name that conflicts
1663 with Cygwin [#501631, Cygwin Ports Maintainer]
1665 * libsoup can now handle the not-quite-HTTP responses returned
1666 by Shoutcast servers [#502325, Wouter Cloetens]
1668 * If you use libsoup while disconnected from the network, it
1669 no longer caches the failed DNS results [#508593, Bradley
1672 Items from http://live.gnome.org/LibSoup/ToDo fixed:
1674 * "Expect: 100-continue" processing now works correctly on
1675 both client and server.
1677 * SoupSessions are no longer leaked
1679 * The XML-RPC API is improved. The SOAP API is gone...
1681 * Added utility functions for HTML form handling
1683 * Improved message header handling
1685 * SoupServer now automatically adds a "Date" header
1689 Changes in libsoup from 2.2.103 to 2.2.104:
1691 * soup_message_io_pause() and soup_message_io_pause() are now
1692 allowed for client messages (and in particular, they don't
1693 mess up when called from the "got_chunk" callback).
1694 [#452280, Marco Barisione]
1696 * Fixed some bugs in SOUP_SESSION_ASYNC_CONTEXT support that
1697 would cause parts of an operation to run in the default
1698 context rather than the session's context. Also fixed some
1699 leaks and added a regression test. [#498509, Wouter
1702 * There is a new test/sample program, tests/pull-api.c,
1703 showing how to implement a pull API using SoupSessionAsync.
1704 (This depends on the fixes for #452280 and #498509, so it
1705 won't work with older versions of libsoup.)
1707 * Discovered "valgrind --leak-resolution=med" and fixed some
1710 Changes in libsoup from 2.2.102 to 2.2.103:
1712 * Fix memory corruption in SoupSessionAsync that caused
1713 rhythmbox to crash. [#484988, patch from Rob Bradford]
1715 * Fix socket refcounting in SoupServer to fix warnings /
1716 possible crash. [#459896, Emanuele Aina]
1718 Changes in libsoup from 2.2.101 to 2.2.102:
1720 * Unbreak the build when building without SSL. Not that you
1721 should be building without SSL anyway, but... (reported by
1724 Changes in libsoup from 2.2.100 to 2.2.101:
1726 * Fix build on cygwin [384498]
1728 * Fix SSL rehandshaking on synchronous sockets [415402, Jacob
1729 Berkman] and add a regression test for it.
1731 * Fix two bugs in https tunnels over proxies that require
1732 authentication (noticed by Varadhan), and add a regression
1735 * Ensure that if you queue multiple messages at once to an
1736 http server that requires authentication but that you
1737 haven't authenticated to yet, that all of the messages get
1738 properly authenticated [271540, James Willcox]. And add a
1739 regression test for it.
1741 * Fix NTLM authentication, which got broken by the previous
1742 fix. [471389, Varadhan]. Add a basic NTLM regression test
1743 that doesn't really test the crypto/encoding parts, but at
1744 least makes sure that the message flow is correct.
1746 * Allow trailing whitespace after HTTP version in
1747 Response-Line, for compatibility with broken servers
1748 [475169, Stephane Loeuillet]. Add that case to the
1749 header-parsing regression test.
1751 * Fix crash when the session's "authenticate" handler returns
1752 a username and no password when using NTLM. [480987, Wendell
1755 * Use "new" glib base64 and iso8601 methods rather than
1756 duplicating them. [337010, patch from Emmanuele Bassi].
1758 * Implement soup_session_queue_message() for SoupSessionSync.
1760 * Add G_BEGIN_DECLS / G_END_DECLS to all headers that were
1761 missing them. [438776, patch from Jonathon Jongsma].
1763 * Fix broken definition of SOUP_IS_MESSAGE_FILTER_CLASS. Noted
1764 by "cascardo" on libsoup-list.
1766 * Remove documentation of non-public MD5 methods [440092,
1767 Jonathon Jongsma]. Removed a mysterious half-sentence in the
1768 SoupMessage docs [458116, Marco Barisione].
1770 Changes in libsoup from 2.2.99 to 2.2.100:
1772 * Fixed soup_headers_parse_status_line() so WebDAV response
1773 parsing will work again. [406997]
1775 * Fixed a bug in the header-parsing regression test that
1776 caused the test to fail sometimes, even though the actual
1777 header-parsing code was fine.
1779 Changes in libsoup from 2.2.98 to 2.2.99:
1781 * Fixed header parsing, including a crash in SoupServer with
1782 certain malformed requests [391970].
1784 * Fixed redirection to other hosts with SoupSessionAsync.
1787 * Fixed a small memory leak pointed out by Chris Austin.
1789 Changes in libsoup from 2.2.97 to 2.2.98:
1791 * The XML-RPC code now correctly interprets <value>foo</value>
1792 as meaning the same thing as
1793 <value><string>foo</string></value>. [364490] Pointed out by
1796 * Memory leak fixes from Andrew W. Nosenko.
1798 * A few symbols that should have been static before now are.
1799 [376387] Patch from Matthias Clasen.
1801 Changes in libsoup from 2.2.96 to 2.2.97:
1803 * Fixed SOAP and XML-RPC code to handle whitespace and
1804 comments in the XML better. (Based on a patch from Andrew W.
1807 * Fixed lots of typecasting/constness warnings in the code
1808 (mostly via a patch from Andrew W. Nosenko)
1810 * Fixed build on Cygwin [321827]
1812 * Fixed libsoup-2.2.pc fields [343340] and make it get
1813 uninstalled correctly [356809]. (Mikhail Zabaluev and
1816 * Fixed some small leaks in SoupServer pointed out by Paolo
1819 Changes in libsoup from 2.2.95.1 to 2.2.96:
1821 * SoupServer now works even if you don't explicitly set an
1822 encoding for the response. (In particular, the automatic 404
1823 if you request a path with no handlers now works. Problem
1824 pointed out by Dennis Jacobfeuerborn.)
1826 * WWW-Authenticate and Proxy-Authenticate responses with no
1827 realm parameter are now ignored, as per RFC 2617, fixing a
1828 crash pointed out by Nate Nielsen.
1830 * Added soup_xmlrpc_message_from_string(), from Fernando
1833 * simple-httpd and "get" now support HEAD
1835 Changes in libsoup from 2.2.94 to 2.2.95.1:
1837 * Even more fixes to XML-RPC, found by the new XML-RPC
1838 regression test. This includes some API changes that I don't
1839 feel guilty about, because the code totally didn't work at
1842 * Fixed a bug in soup_mktime_utc()
1844 * (2.2.95 was identical to 2.2.95.1. The only difference is
1845 that the shared library version was belatedly bumped from
1846 8.2.0 to 8.3.0 to reflect the API "additions")
1848 Changes in libsoup from 2.2.93 to 2.2.94:
1850 * Various fixes to the XML-RPC code (which apparently had not
1851 actually ever worked before) from Brent Smith. [343973,
1854 * Added client and server API tutorials to the docs
1856 * auth-test now uses a local Apache 2.2 install, if possible,
1857 rather than depending on files that used to be on an old
1858 Ximian web server but haven't been anywhere for a long time.
1861 Changes in libsoup from 2.2.92 to 2.2.93:
1863 * Fixed outgoing data corruption caused when SoupServer
1864 started writing out a response a second time after already
1865 having started once. [334469]. Also fixed 342640 and another
1866 bug caused by the workaround for 334469 in 2.2.92. Based on
1867 patches and analysis from William Jon McCann and Armin
1870 * Fixed a deadlock when changing a session's proxy URI.
1871 [309867 / bnc 174255, based on a patch by Veerapuram
1874 * Fixed https-via-proxies in the synchronous case. [bnc 174255]
1876 * Fixed a crash in evolution-exchange [342545, fix based on an
1877 analysis by Wang Xin].
1879 * Fixed simple-proxy to not crash at startup. Oops. (Alex
1882 Changes in libsoup from 2.2.91 to 2.2.92:
1884 * Fixed server-side digest auth to return a valid "algorithm"
1885 value and client-side to not crash if it sees an invalid one
1888 * Fixed the Request-Line parsing code to not hardcode a
1889 maximum URI length (to allow very long DAAP requests from
1890 iTunes in Rhythmbox). [335040]
1892 * Fixed some warnings (signed/unsigned mismatch).
1894 Changes in libsoup from 2.2.7 to 2.2.91:
1896 * (The large version number bump is because there was an
1897 internal 2.2.90 release for SUSE 10.1 alphas, which was
1898 supposed to be intermediate between 2.2.7 and 2.4.0. But
1899 2.4.0 didn't end up happening, and I don't want to regress
1900 the version number at this point.)
1902 * SoupSession, SoupServer, SoupConnection, SoupSocket, and
1903 SoupAddress now have an "async-context" property that allows
1904 you to use the async API in a non-default GMainContext.
1905 [Based on patches from Armin Bauer and Jürg Billeter.]
1907 * SoupSession, SoupConnection, and SoupSocket now have a
1908 "timeout" property to stop synchronous sockets from hanging
1909 forever if the remote end is unresponsive (from Varadhan).
1911 * Fixed some bugs in soup_date_iso8601_parse(). [324671, from
1914 * More Windows build fixes from Tor.
1916 Changes in libsoup from 2.2.6.1 to 2.2.7:
1918 * Fixed a crash when using NTLM connections [316313, probably
1919 also 318252]. (Also 321208, which was a bug introduced in
1920 the original fix for 316313.)
1922 * Fixed a bug that could cause soup to suck up all available
1923 CPU when a connection to a SoupServer was dropped by the
1924 other side [319305, patch from Jonathan Matthew]
1926 * Fixed the creation of struct elements in XMLRPC messages
1927 [321362, patch from Sebastian Bauer]
1929 * Plugged a small memory leak in SoupSocket (from Wang Xin).
1931 * Fixed two compile problems, a gccism [320349, patch from
1932 Roland Illig], and a strict-aliasing warning from gcc 4.1.
1934 Changes in libsoup from 2.2.6 to 2.2.6.1:
1936 * Fixed a crash when using SoupSoapMessage
1938 Changes from 2.2.5 to 2.2.6:
1940 * Fixed a crash when canceling a message (from Tambet Ingo)
1942 * Fixed a bug where a connection could be leaked forever in
1943 some circumstances if a request got a 30x, 401, or 407
1944 response, eventually causing a hang when the session hit its
1945 maximum connection limit. (Dan/Tambet)
1947 * Fixed a memory leak. (Tambet)
1949 * Fixed a bug that would sometimes show up when connecting to
1950 a server on localhost [#312540]
1952 * Added some API to SoupServer and SoupSocket to help fix a
1953 long-standing rcd bug.
1955 Changes from 2.2.4 to 2.2.5:
1957 * Win32 support (from Tor Lillqvist)
1959 * Up-to-date API documentation pretty much everywhere
1961 * Basic XMLRPC support (from Mariano Suarez-Alvarez, Fernando
1962 Herrera, and Jeff Bailey)
1964 * New HTTP timestamp-manipulation methods soup_date_parse,
1965 soup_date_generate, and soup_date_iso8601_parse.
1967 * SoupSession now handles relative URLs in the Location header
1968 (in violation of RFC 2616, but in line with how some servers
1971 Changes from 2.2.3 to 2.2.4:
1973 * Fixed a problem with NTLM authentication against
1974 multi-domain servers. [306877]
1976 * Fixed DNS lookups on Solaris. [254551, 268389]
1978 Changes from 2.2.2 to 2.2.3:
1980 * Now compiles against gnutls 1.2.0 [257811]
1982 * Fixed a bug that could result in 100% CPU usage if an SSL
1983 server closed the connection uncleanly. [273352]
1985 Changes from 2.2.1 to 2.2.2:
1987 * The SSL validation fix from 2.2.1 [264414] is now completely
1988 fixed. (Part of the fix didn't actually make it into 2.2.1)
1990 * HTTPS certificate validation now works when using an HTTP
1993 * HTTP proxy code deals better with proxies that try to make
1994 the user do HTML-form-based authentication. [268531]
1996 * 64-bit fixes for NTLM auth code. [270323, from Michael
1999 Changes from 2.2.0 to 2.2.1:
2001 * Updated for a libgcrypt API change between 1.1.9x and 1.2.x
2002 that caused a crash at runtime if you compiled against
2005 * SSL certificate validation failure should now always result
2006 in a status of SOUP_STATUS_SSL_FAILED, rather than getting
2007 turned into SOUP_STATUS_IO_ERROR. [264414]
2010 Changes in libsoup from the 2.0 series (1.99.x versions) to 2.2:
2012 * Most of the libsoup datatypes are now GObjects. (SoupUri
2013 is currently an exception to this.)
2015 * SoupMessage now emits signals at various stages of
2016 processing. (Eg, "wrote_body", "got_headers".) (You
2017 can also still use soup_message_add_*handler().)
2019 * SoupContexts are gone; soup_message_new() now takes a URI
2022 * All formerly global state is now maintained by the
2023 SoupSession object. (This includes the connection pool,
2024 proxy server, cached authentication information, SSL
2027 * You can create a SoupSessionAsync (for 2.0-like
2028 behavior) or SoupSessionSync (for blocking,
2031 * You can add SoupMessageFilter objects to a session
2032 to have certain processing automatically performed
2033 on every message sent via that session. (Eg, setting
2036 * NTLM authentication is no longer supported by
2037 default. You must enable it by setting the
2038 SOUP_SESSION_USE_NTLM flag on the session.
2040 * The preferred method of handling authentication is
2041 now via the "authenticate" and "reauthenticate"
2042 signals on SoupSession. (The old style, of encoding
2043 the user and password information into the url is
2044 also still supported.)
2046 * The SOUP_ERROR_* values are now SOUP_STATUS_* (so that we
2047 don't have "SOUP_ERROR_OK" and the like).
2049 * SOUP_MESSAGE_IS_ERROR() is gone, since some cases
2050 want to include 3xx responses and some don't.
2052 * SOUP_ERROR_CANT_AUTHENTICATE and
2053 SOUP_ERROR_CANT_AUTHENTICATE_PROXY are now gone,
2054 since they didn't carry any information that
2055 SOUP_STATUS_UNAUTHORIZED and
2056 SOUP_STATUS_PROXY_UNAUTHORIZED don't.
2058 * DNS errors now show up as the new status code
2059 SOUP_STATUS_CANT_RESOLVE rather than being mixed in
2060 with SOUP_ERROR_CANT_CONNECT.
2062 * Minimal SOAP support has been added back, via
2063 SoupSoapMessage/SoupSoapResponse
2065 * The HTTP I/O state machine was completely rewritten, fixing
2066 numerous crashes, leaks, and protocol errors.
2068 * SoupUri now conforms to RFC 2396. Mostly.
2070 * Various test programs have been added under tests/
2074 * Support for OpenSSL (which was horribly buggy) and
2075 Mozilla NSS (which was never finished). We only
2076 support GNUTLS for SSL now.
2080 * CGI support in SoupServer