2008-08-04 Dan Winship * configure.in: 2.23.6 * NEWS: update 2008-07-26 Dan Winship * libsoup/soup-misc.c (soup_add_completion): Add this to schedule a callback in a GMainContext "right away", as opposed to soup_add_idle(), which uses a lower priority and therefore may not end up calling the callback for a long time if the application is busy with I/O. #536676, Benjamin Otte. * libsoup/soup-dns.c (resolver_thread, async_cancel) (soup_dns_lookup_resolve_async): * libsoup/soup-message-io.c (soup_message_io_unpause): * libsoup/soup-session-sync.c (queue_message_thread): * libsoup/soup-session-async.c (do_idle_run_queue): * libsoup/soup-socket.c (async_cancel) (soup_socket_connect_async): * tests/test-utils.c (test_server_shutdown): Use soup_add_completion() rather than soup_add_idle(). * docs/reference/libsoup-2.4-sections.txt: add soup_add_completion 2008-07-26 Dan Winship * libsoup/soup-message-client-io.c (get_request_headers): don't add a Host header to the message if the caller already added one. #539803, Marc Maurer. * libsoup/soup-logger.c (print_request): likewise * tests/misc-test.c: new test file for small miscellaneous test cases. (do_host_test): test Host-header overriding 2008-07-26 Dan Winship * tests/Makefile.am (LIBS): add $(GLIB_LIBS) so this still works when building with weird LDFLAGS. #541506, Götz Waschk. * docs/reference/Makefile.am (GTKDOC_LIBS): likewise * libsoup/soup-auth-digest.c (soup_auth_digest_parse_algorithm): if the server response doesn't include an algorithm, it is supposed to default to MD5. #544681, Mads Chr. Olesen. * libsoup/soup-message-io.c (SoupMessageIOData): change read_length, write_length, and written to goffset so we can properly handle message bodies > 4G. #539861, Peter Christensen. * libsoup/soup-gnutls.c: Fix horrible bizarre brokenness in GIOChannel subclassing. #536417, Tor Lillqvist. 2008-06-04 Tor Lillqvist * libsoup/soup-socket.c (set_fdflags): The SO_RCVTIMEO and SO_SNDTIMEO options to setsockopt() take int values, in milliseconds, on Windows. Not struct timeval. Eek. So passing a struct timeval meant that the tv_sec value (which is first in the struct) is interpreted as milliseconds. setsockopt apparently doesn't even get upset by the fact that the option size doesn't match the sizeof(int) it should expect. 2008-05-02 Dan Winship * libsoup/soup-cookie.c (soup_cookie_applies_to_uri): fix the path checking 2008-04-29 Tor Lillqvist * libsoup/soup-dns.c (soup_dns_is_ip_address): Fix compilation error in the !HAVE_IPV6 && !HAVE_INET_PTON && !HAVE_INET_ATON case.