[Webkit-unassigned] [Bug 129233] Lack of picture display

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 30 18:30:39 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=129233

Jeremy Zerfas <WebKit at JeremyZerfas.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |WebKit at JeremyZerfas.com

--- Comment #1 from Jeremy Zerfas <WebKit at JeremyZerfas.com> ---
I can verify that the behavior described in this ticket is still present in r186279 (and also Chrome 43.0.2357.134). This problem is occurring because the server is setting the Content-Length header for the images larger than they are supposed to be which then causes a load error after the transfer times out after several seconds.

As an example, the first broken image from the thread http://www.modularfords.com/attachment.php?attachmentid=84722&d=1324949965 has a Content-Length value of 97010 but it looks like it really should be 56250. The incorrect Content-Length also causes problems when trying to download the image using curl by running "curl http://www.modularfords.com/attachment.php?attachmentid=84722\&d=1324949965 > /dev/null" which then generates the following output:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 57 97010   57 56250    0     0   179k      0 --:--:-- --:--:-- --:--:--  180k
curl: (18) transfer closed with 40760 bytes remaining to read

Perhaps for incomplete image transfers WebKit should be altered to try displaying the images using whatever data it was able to retrieve? That seems to be what Firefox does. If that sounds reasonable, I think I could make a patch to do that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150731/138bc0e8/attachment.html>


More information about the webkit-unassigned mailing list