Network calls are failing with disable-features anything

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.

Network calls are failing with disable-features anything

Postby masing » Fri Aug 07, 2020 4:20 am

I have upgraded my CEF cef_binary_79.0.0-3945.2179+g83778d7+chromium-79.0.3945.130_macosx64) to
cef_binary_83.0.0-4103.2247+g91390ce+chromium-83.0.4103.97_macosx64) version and I am observing that OPTIONS method network calls are not getting executed or somehow getting blocked. They are giving net: ERR_FAILED response.

I also observed that it is happening when we pass the command line argument 'disable-features'.
Code: Select all
command_line->AppendSwitchWithValue("disable-features", "anything");


Note: I was using disable-features in the previous version also. But did not face the issue.

Also, I am not able to reproduce the issue in the sample app. Is passing value via command line and via AppendSwitchWithValue is any different.

Sample URL where calls are failing: "translate.google.com".

Can someone please guide?
masing
Newbie
 
Posts: 1
Joined: Fri Aug 07, 2020 3:22 am

Re: Network calls are failing with disable-features anything

Postby magreenblatt » Fri Aug 07, 2020 10:24 am

You are overriding the default value of disable-features. You need to instead start with the default value and add your new value at the end.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 62 guests