Commit dacfe7ad authored by kov@webkit.org's avatar kov@webkit.org

2009-04-25 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

        Reviewed by Mark Rowe.

        Only set the new URL once for the request. Doing it a second time
        after the call to willSendRequest was causing crashes when
        redirected requests got cancelled.

        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::restartedCallback):

git-svn-id: svn://svn.chromium.org/blink/trunk@42861 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent f6a3a134
2009-04-25 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Mark Rowe.
Only set the new URL once for the request. Doing it a second time
after the call to willSendRequest was causing crashes when
redirected requests got cancelled.
* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::restartedCallback):
2009-04-24 Kevin Ollivier <kevino@theolliviers.com> 2009-04-24 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Adding ScriptEventListener.cpp. wx build fix. Adding ScriptEventListener.cpp.
...@@ -235,8 +235,6 @@ static void restartedCallback(SoupMessage* msg, gpointer data) ...@@ -235,8 +235,6 @@ static void restartedCallback(SoupMessage* msg, gpointer data)
fillResponseFromMessage(msg, &response); fillResponseFromMessage(msg, &response);
if (d->client()) if (d->client())
d->client()->willSendRequest(handle, request, response); d->client()->willSendRequest(handle, request, response);
d->m_request.setURL(newURL);
} }
static void gotHeadersCallback(SoupMessage* msg, gpointer data) static void gotHeadersCallback(SoupMessage* msg, gpointer data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment