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

2019-04-15 Thread Assaf Inbal
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

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

2019-04-12 Thread Assaf Inbal
Hey, I’m trying to debug an issue where Safari (both on macOS and iOS) fails to load an MJPEG stream in some cases. The HTTP response is of content type "multipart/x-mixed-replace” and is also using chunked encoding. The stream works as expected in Firefox and Chrome but fails in Safari. In the