[webkit-dev] A Little Help Debugging Chuked + multipart/x-mixed-replace Responses

Assaf Inbal shmuelzon at gmail.com
Mon Apr 15 12:34:23 PDT 2019


Hey again,

For what it’s worth, I did manage to figure out that the connection is dropped/canceled at Source/WebCore/loader/SubresourceLoader.cpp:didReceiveResponse() where it fails the condition that the resource is a multipart but it’s not detected as an image: "canceling load because something about a multi-part non-image”.

Not sure why it wouldn’t be detected as an image as the response frame does include a “Content-Type: image/jpeg” header and the data + length are valid.
Where is it “decided” if a resource is an image? Does it only rely on the HTML tag that caused the resource to be loaded? Response headers? Actually trying to decode the data?

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1933 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20190415/f388606c/attachment.bin>


More information about the webkit-dev mailing list