Re: fnord hangs when serving png/jpeg images via https
Peter Conrad <[email protected]> Fri, 11 Mar 2005 11:49:58 +0100
| Newsgroups | gmane.comp.web.fnord |
|---|---|
| Organization | [ t]ivano Software GmbH |
| Message-ID | <[email protected]> |
Hi, Am Freitag, 11. M=E4rz 2005 11:36 schrieb Felix von Leitner: > Thus spake Dale Gallagher ([email protected]): > > >When going to URL https://foo.localnet/img/foo.png, fnord hangs, where= as > > >without ssl it serves the image. What could be causing this? Other > > >files, including cgi's are served without problems. > > > > I've figured out that fnord (on my box) serves gif images over ssl > > without a problem, but not png and jpeg? Why on earth would this be the > > case? Please let me know if anyone has a clue as to why and how to > > resolve this. > > Can you please send me details of your configuration and two picture > files (one that works and one that does not), so I can debug this? I've sent two mails to the list regarding this issue, but for some reason mail from my machine at home don't seem to get through. :-/ I've had a similar problem with fnord + ucspi-ssl. It turned out that sendfile() calls fail if output is to a pipe instead of a socket. What puzzled me was that "most" transfers worked fine, only "a few" didn't. The reason was simply that fnord doesn't use sendfile() if the file size is below a certain limit... Workaround: compile fnord without sendfile support. Bye, Peter =2D-=20 Peter Conrad Tel: +49 6102 / 80 99 072 [ t]ivano Software GmbH Fax: +49 6102 / 80 99 071 Bahnhofstr. 18 http://www.tivano.de/ 63263 Neu-Isenburg Germany