Changeset 160836 in webkit
- Timestamp:
- Dec 19, 2013 9:32:49 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r160830 r160836 1 2013-12-19 Dan Bernstein <mitz@apple.com> 2 3 <rdar://problem/15696824> [CFNetwork] Loading stops at server redirects 4 https://bugs.webkit.org/show_bug.cgi?id=125984 5 6 Reviewed by Anders Carlsson. 7 8 * platform/network/cf/ResourceHandleCFNet.cpp: 9 (WebCore::ResourceHandle::willSendRequest): If the client uses async callbacks, call its 10 willSendRequestAsync callback instead if willSendRequest. 11 1 12 2013-12-19 Andreas Kling <akling@apple.com> 2 13 -
trunk/Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp
r160467 r160836 280 280 281 281 Ref<ResourceHandle> protect(*this); 282 client()->willSendRequest(this, request, redirectResponse); 283 284 // Client call may not preserve the session, especially if the request is sent over IPC. 285 if (!request.isNull()) { 286 request.setStorageSession(d->m_storageSession.get()); 287 288 d->m_currentRequest = request; 282 if (client()->usesAsyncCallbacks()) 283 client()->willSendRequestAsync(this, request, redirectResponse); 284 else { 285 client()->willSendRequest(this, request, redirectResponse); 286 287 // Client call may not preserve the session, especially if the request is sent over IPC. 288 if (!request.isNull()) { 289 request.setStorageSession(d->m_storageSession.get()); 290 291 d->m_currentRequest = request; 292 } 289 293 } 290 294 }
Note: See TracChangeset
for help on using the changeset viewer.