• tony@chromium.org's avatar
    Take 2 at working around a multipart crash · a48c9db1
    tony@chromium.org authored
    The work around is to be more aggressive about sending
    multipart data before we have a response header.  We used
    to buffer a response until we had the full frame.
    
    This avoids a crash in webcore by behaving more like
    CFNetwork.  It also makes us behave more like Gecko,
    which is probably good for compat.
    
    The original patch (r47599) broke plugins on Windows because
    it was depending on the assumption that we would send data
    as one big chunk.  Now that we send data as multiple chunks,
    we need to update the data offset being sent to the plugin.
    
    BUG=30880
    
    Review URL: http://codereview.chromium.org/2787002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49355 0039d316-1c4b-4281-b951-d872f2087c98
    a48c9db1
multipart_response_delegate.cc 11.8 KB