Allow the session authenticate signal to be handled asynchronously, by
authorDan Winship <danw@src.gnome.org>
Wed, 16 Jan 2008 21:49:54 +0000 (21:49 +0000)
committerDan Winship <danw@src.gnome.org>
Wed, 16 Jan 2008 21:49:54 +0000 (21:49 +0000)
commit257e653516d9903f234c806cff36fa62aafdd8c0
tree7186a71d07eb5387023310dea51410f139ef18f9
parentb10240e62e619272231d1e72651864087fc04259
Allow the session authenticate signal to be handled asynchronously, by

* libsoup/soup-auth-manager.c (authorize_handler, etc): Allow the
session authenticate signal to be handled asynchronously, by
pausing the message and then authenticating the auth later.
(auth_type_compare_func): make this work. oops.
(extract_challenge): plug leak

* libsoup/soup-auth-manager-ntlm.c: Make this work async too.

* libsoup/soup-headers.c (soup_header_parse_list):
(soup_header_parse_param_list): plug leaks

* tests/auth-test.c (do_async_auth_test): test async auth

* docs/reference/client-howto.xml (Handling Authentication):
mention async auth

svn path=/trunk/; revision=1045
ChangeLog
docs/reference/client-howto.xml
libsoup/soup-auth-manager-ntlm.c
libsoup/soup-auth-manager.c
libsoup/soup-headers.c
libsoup/soup-session.c
tests/auth-test.c