cef still sent url request after I closed the browser

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

cef still sent url request after I closed the browser

Postby alexzhu » Thu Sep 29, 2022 1:30 am

hi all,

I found a strange problem, open a webpage, then I close the browser(a Tab) very fast

0.1% chance cef still sent url request to server after I closed the browser,

the local log file printed only 4 sub urls, and nginx log showed 6 sub urls

Is there a way to tell cef cancel all the async requests once user close the webpage?
alexzhu
Newbie
 
Posts: 3
Joined: Thu Sep 29, 2022 1:18 am

Re: cef still sent url request after I closed the browser

Postby magreenblatt » Thu Sep 29, 2022 7:56 am

How long after closing the browser were the requests sent? If the timing is close then it's likely normal variance for things happening asynchronously.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: cef still sent url request after I closed the browser

Postby alexzhu » Fri Sep 30, 2022 2:53 am

I checked nginx log, 1-2 seconds
alexzhu
Newbie
 
Posts: 3
Joined: Thu Sep 29, 2022 1:18 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 37 guests