Is it a bug at PassThruResponseFilter::Filter function?

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.

Is it a bug at PassThruResponseFilter::Filter function?

Postby luodijia » Tue Nov 21, 2017 4:13 am

The PassThruResponseFilter::Filter function is at the cef\tests\cefclient\browser\response_filter_test.cc.If the data_in_size is more than the data_out_size, should the data_in_read equals the data_out_size? It means that data_in_read should equals the data_out_written, otherwise it'll lost some data. Because you read more but write less. data_in_size > data_out_size is possible in some case
luodijia
Techie
 
Posts: 37
Joined: Mon Dec 22, 2014 11:55 am

Re: Is it a bug at PassThruResponseFilter::Filter function?

Postby magreenblatt » Tue Nov 21, 2017 12:27 pm

The expected behavior is documented on the CefResponseFilter::Filter method. There's also https://bitbucket.org/chromiumembedded/cef/issues/2282
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 34 guests