Fix incorrect content length when loading resource (issue #83).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@83 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
a113522344
commit
2799fccb7d
|
@ -322,7 +322,8 @@ class RequestProxy : public URLRequest::Delegate,
|
||||||
// load from the provided resource stream
|
// load from the provided resource stream
|
||||||
handled = true;
|
handled = true;
|
||||||
|
|
||||||
long offset = resourceStream->Seek(0, SEEK_END);
|
resourceStream->Seek(0, SEEK_END);
|
||||||
|
long offset = resourceStream->Tell();
|
||||||
resourceStream->Seek(0, SEEK_SET);
|
resourceStream->Seek(0, SEEK_SET);
|
||||||
|
|
||||||
resource_stream_ = resourceStream;
|
resource_stream_ = resourceStream;
|
||||||
|
|
Loading…
Reference in New Issue