<-- back to the mailing list

Gemini proxy image display

Mr. Leveck leveck at leveck.us

Thu Sep 10 18:50:02 BST 2020

- - - - - - - - - - - - - - - - - - - 

On 9/10/20 11:38 AM, Charles E. Lehner wrote:

Mr. Leveck,
I looked into it more, comparing this broken image:
https://leveck.us/gemini/1436.ninja/the_servers.png
with the good original:
gemini://1436.ninja/the_servers.png
The proxied one has this header "<!-- GEMINI! --><!-- 1436.ninja/the_servers.png --><!-- 192.168.0.45 -->". That breaks the image. Also, in the content at byte 24576 (0x6000), the files diverge. The proxied one seems to restart sending the PNG image there, with some bytes missing. Maybe a variable is incorrectly set in your code?
Charles

Useful.

The comments were added during troubleshooting something else. I think I have fixed all the above, but that image is still broken. I'll keep digging.

-- jynxgopher://1436.ninjagemini://1436.ninja/https://leveck.us