Debugging gopher Fri, 31 Oct 2025 17:37:36 +0100 +-----------------------------------------------------------------+ Lucio is working on a new gopher server, goophy, and his gopher hole is running on it.[1] However, using Chawan, I was getting some '3Bad Request' errors that didn't appear when using Lynx. I contacted the Chawan dev, bptato, who found that for him, Chawan worked fine with Lucio's server. Curioser and curioser... For some reason the CR was getting lost between my laptop and Lucio's server, but no idea why. I also found that curl was getting the same error. Lucio fixed this by modifying his network code. But Chawan was still borking. Lucio removed the requirement for CR LF at the end of each request, and Chawan worked fine, but bptato reckoned that was unwise, and figured that it was his code that was at fault. It turned out that CR was getting eaten. ~bptato has fixed the Chawan code[2], and Lucio has re-integrated the CR LF requirement as per the RFC. I'm quite chuffed that Lucio and I found these bugs which have improved Goophy while ensuring that Chawan stays a marvellous gopher browser. Please don't hesitate to visit Lucio's gopher server. Perhaps I'll adopt goophy one day? He also has an RSS feed for his phlog. Recommended. [1] gopher://lucio.albenga.es [2] https://git.sr.ht/~bptato/chawan/commit/ec0b1b9a996c49ae83a75a11986fae4838f34385 ␌