Closed Bug 59016 Opened 24 years ago Closed 23 years ago

jpg don't display

Categories

(Core :: Networking: HTTP, defect, P3)

x86
Other
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.5

People

(Reporter: Richard.Solomon, Assigned: darin.moz)

References

()

Details

(Whiteboard: fixed-on-trunk)

Attachments

(1 file, 2 obsolete files)

I don't know if it's html compatability but the jpg display correctly in
Netscape 4.7 but not here.
<IMG SRC="http://features.yahoo.com/model/smith/anna3.jpg" WIDTH=244 HEIGHT=327
                  ALIGN=bottom>

this html is illegal, should be all in one line.



Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
#00HTTP/1.0 200 OK Last-Modified: Tue, 06 May 1997 01:15:37 GMT Content-Type: image/jpeg
Content-Length: 17830 Expires: Fri, 24 Dec 1999 23:59:59 GMT ÿØÿàJFIFHHÿíÞPhotoshop 3.08B etc...

This is what you get when trying to load the url
reopneing, i had the image cached, which is why it showed for me locally.  
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
HTML doesn't care about whitespace.

There's extra bytes preceeding the "HTTP" in the response which are causing
problems for mozilla.  Reopening and reassigning to networking.
Component: Browser-General → Networking
Changing assignment/qa to match component.
Assignee: asa → gagan
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: doronr → tever
The remote server (features.yahoo.com) or some sub-process there is broken,
indepedently confirmed that it writes gibberish before returning an HTTP reply
for the requested image. At that point all you can do is assume it speaks
HTTP/0.9, which it doesn't. Not Mozilla's problem.
While it seems the server has some issues, Netscape 4.x manages to recover
gracefully and display the image.
added keyword 4xp.
Keywords: 4xp
->me
Assignee: gagan → darin
Component: Networking → Networking: HTTP
Target Milestone: --- → Future
this will be fixed once my changes for bug 76866 land.
Status: NEW → ASSIGNED
Depends on: 76866
This bug was fixed about two or three weeks ago. It seems to have regressed
since then. It only worked once during that time frame.
Do we need to invalidate this or take it as 4xp?
we could easily sniff the first data packet for HTTP and discard any leading
bytes up to some maximum number of bytes... say 8 or some such small number.
Target Milestone: Future → mozilla0.9.5
i've also seen problems with proxy servers sending erroneous bytes before the
HTTP as well... so, this solution may fix more than just this server.
Attached patch v1.0 solution (obsolete) — Splinter Review
Keywords: patch
Attachment #47918 - Attachment is obsolete: true
Comment on attachment 47925 [details] [diff] [review]
v1.1 revised LocateHttpStart method

r=gagan
Attachment #47925 - Flags: review+
Comment on attachment 47925 [details] [diff] [review]
v1.1 revised LocateHttpStart method

r=gagan
Attachment #47925 - Flags: superreview+
Attachment #47925 - Attachment is obsolete: true
Attachment #48193 - Flags: superreview+
Attachment #48193 - Flags: review+
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → FIXED
Whiteboard: fixed-on-trunk
I still can not see the images on the reported URL. I did reload and
Shift-Reload. I tested it with and without proxy. BuildID 2001091909 on Linux
i just tried build 2001-09-18/12 and 2001-09-14/08 under linux and both work.
i haven't tried the 9/19 build, so perhaps this is a very recent regression?!?
I have investigated this problem a little more. My ISP is using some kind of
transparent proxy (NetCache NetApp/5.1R2D2). I can not see the images in the
reported URL because this proxy is sending incorrect data.

Mozilla is working fine.
makes sense.. thanks for investigating.
verified 01/14/02 builds  WinNT4,  Linux rh6,  Mac osX
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: