💾 Archived View for bbs.geminispace.org › u › skyjake › 14449 captured on 2024-08-18 at 21:36:15. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-06-16)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🕹️ skyjake

Re: "Lagrange crashes when fed binary file as index.gmi"

In: s/Lagrange

It does not crash for me, athough it takes quite a while for the page to finish loading. The problem here is that you are returning a "text/gemini" response whose body is 1.3 MB of binary (executable?) data. Lagrange is dutifully trying to render the contents for you as text.

You need to fix your server configuration...

There is a relevant issue for this on GitHub:

— https://github.com/skyjake/lagrange/issues/601

🕹️ skyjake [mod, sysop]

Jan 29 · 7 months ago

1 Later Comment

🐐 satch [OP] · 2024-01-29 at 13:12:

Okay, I knew that's what my server was doing, I just didn't know the issue was already documented. I set up ://blube.club/ that way specifically to demonstrate the Lagrange issue, not because I was trying to serve CGI from my static directory.

Original Post

🌒 s/Lagrange

Lagrange crashes when fed binary file as index.gmi — Previously there was a question here, because I had no idea what was going on and I though it had something to do with localhost vs remote hosts. I was wrong. My Lagrange on Mac becomes unresponsive when I view this link (be careful before clicking!) [gemini link] What I am serving here is simply a binary executable which I compiled from Go. The file is called index.gmi and placed at the root of the static/blube.club/ directory, served by...

💬 satch · 3 comments · Jan 28 · 7 months ago