diff options
author | Alex Graveley <alex@ximian.com> | 2001-07-17 23:48:21 +0000 |
---|---|---|
committer | Alex Graveley <orph@src.gnome.org> | 2001-07-17 23:48:21 +0000 |
commit | 0e0b97ccc2da4b2248f54eacb840a3388fb390db (patch) | |
tree | 43479b7082ec8347ae72a80ba99c189cd0779669 /libsoup/soup-message.h | |
parent | 21e17c964585748cc1279cfbb585b8e3d2fcecc5 (diff) | |
download | libsoup-0e0b97ccc2da4b2248f54eacb840a3388fb390db.tar.gz |
Add querysting to hash. (soup_context_uri_equal): Compare querystring for
2001-07-17 Alex Graveley <alex@ximian.com>
* src/soup-core/soup-context.c (soup_context_uri_hash): Add
querysting to hash.
(soup_context_uri_equal): Compare querystring for equality.
* src/soup-core/soup-transfer.c (soup_transfer_read_error_cb): Add
gross hack to avoid double frees by only freeing the SoupReader
or SoupWriter if we are not currently processing a callback.
(soup_transfer_read_cb): Ditto
(soup_transfer_write_error_cb): Ditto.
(soup_transfer_write_cb): Ditto.
(soup_transfer_read_cancel): Return if currently processing a callback.
(soup_transfer_write_cancel): Ditto.
* src/soup-core/soup-message.c (soup_message_new): Add
redirect_handler by default.
(soup_message_set_flags): Remove redirect handler when
SOUP_MESSAGE_NO_REDIRECT is set, and add it when it is unset.
* src/soup-core/soup-message.h: Change SOUP_MESSAGE_FOLLOW_REDIRECT to
SOUP_MESSAGE_NO_REDIRECT, as redirect is on by default now.
Diffstat (limited to 'libsoup/soup-message.h')
-rw-r--r-- | libsoup/soup-message.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-message.h b/libsoup/soup-message.h index de377e86..d9108737 100644 --- a/libsoup/soup-message.h +++ b/libsoup/soup-message.h @@ -144,7 +144,7 @@ void soup_message_add_body_handler (SoupMessage *msg, gpointer user_data); typedef enum { - SOUP_MESSAGE_FOLLOW_REDIRECT = (1 << 1), + SOUP_MESSAGE_NO_REDIRECT = (1 << 1), SOUP_MESSAGE_NO_COOKIE = (1 << 2), SOUP_MESSAGE_OVERWRITE_CHUNKS = (1 << 3) } SoupMessageFlags; |