Add soup_session_get_feature_for_message, remove _get_proxy_resolver
authorDan Winship <danw@gnome.org>
Sun, 9 Aug 2009 14:58:54 +0000 (10:58 -0400)
committerDan Winship <danw@gnome.org>
Sun, 9 Aug 2009 14:58:54 +0000 (10:58 -0400)
commit99bb1c5829da36abb70c7feb4f905a19f23ff8c0
tree3867021a42240db01f50e117fbdc66e1dbe3be65
parent005bf1a75397d66028454e58e4aa1d95ac88569d
Add soup_session_get_feature_for_message, remove _get_proxy_resolver

Add a cache to soup_session_get_feature(), and remove the separate
auth_manager and proxy_resolver private vars, and just use
soup_session_get_feature() as needed instead. (Partly inspired by the
fact that the cache branch adds yet another specially-tracked
feature.)

Add soup_session_get_feature_for_message() to get a feature and check
soup_message_disables_feature() on it, and use that to replace
soup_session_get_proxy_resolver().
libsoup/soup-session-async.c
libsoup/soup-session-private.h
libsoup/soup-session-sync.c
libsoup/soup-session.c
libsoup/soup-session.h