mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add ability to stop CefURLRequest on redirect (issue #1329)
This commit is contained in:
committed by
Marshall Greenblatt
parent
c3f5e6463c
commit
90863b8c5d
@@ -745,6 +745,8 @@ void CefRequestImpl::Get(net::URLFetcher& fetcher,
|
||||
|
||||
if (flags & UR_FLAG_NO_RETRY_ON_5XX)
|
||||
fetcher.SetAutomaticallyRetryOn5xx(false);
|
||||
if (flags & UR_FLAG_STOP_ON_REDIRECT)
|
||||
fetcher.SetStopOnRedirect(true);
|
||||
|
||||
int net_flags = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user