Add ability to stop CefURLRequest on redirect (issue #1329)

This commit is contained in:
Mike Wiedenbauer
2018-04-10 13:04:57 -04:00
committed by Marshall Greenblatt
parent c3f5e6463c
commit 90863b8c5d
14 changed files with 220 additions and 5 deletions

View File

@@ -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;