mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove DCHECK in InterceptedRequest::OnReceiveRedirect (fixes issue #2917)
This commit is contained in:
@@ -475,9 +475,10 @@ void InterceptedRequest::OnReceiveRedirect(
|
|||||||
if (current_request_uses_header_client_) {
|
if (current_request_uses_header_client_) {
|
||||||
// Use the headers we got from OnHeadersReceived as that'll contain
|
// Use the headers we got from OnHeadersReceived as that'll contain
|
||||||
// Set-Cookie if it existed. May be null for synthetic redirects.
|
// Set-Cookie if it existed. May be null for synthetic redirects.
|
||||||
DCHECK(current_headers_);
|
if (current_headers_) {
|
||||||
current_response_->headers = current_headers_;
|
current_response_->headers = current_headers_;
|
||||||
current_headers_ = nullptr;
|
current_headers_ = nullptr;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
needs_callback = true;
|
needs_callback = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user