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