mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-17 04:30:46 +01:00
Increase the kDataSize value to the maximum allowed to improve resource loading speed (issue #301).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@300 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
9fa941f1d7
commit
fb67a371fe
@ -821,8 +821,9 @@ class RequestProxy : public net::URLRequest::Delegate,
|
||||
net::FileStream file_stream_;
|
||||
scoped_refptr<DeletableFileReference> downloaded_file_;
|
||||
|
||||
// Size of our async IO data buffers
|
||||
static const int kDataSize = 16*1024;
|
||||
// Size of our async IO data buffers. Limited by the sanity check in
|
||||
// URLRequestJob::Read().
|
||||
static const int kDataSize = 1000000-1;
|
||||
|
||||
// read buffer for async IO
|
||||
scoped_refptr<net::IOBuffer> buf_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user