💾 Archived View for bbs.geminispace.org › u › skyjake › 14449 captured on 2024-06-16 at 15:39:16. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-26)
-=-=-=-=-=-=-
Re: "Lagrange crashes when fed binary file as index.gmi"
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
Jan 29 · 5 months ago
🐐 satch [OP] · Jan 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.
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...