Incompatibility with `The Wall` page
Closed this issue ยท 5 comments
Describe the bug
Whenever you try to connect to The Wall, you'll get a TLS connection closed unexpectedly
error.
To Reproduce
Steps to reproduce the behavior:
- Go to gemini://tilde.cafe/~spellbinding/wall/cgi
- See error
Expected behavior
Geopard should display contents of the page. It even displays it for a split second, but then it shows the error page.
Software info (please complete the following information):
- OS: Arch Linux
- Geopard's Version: master
Additional context
I identified that the error comes from Line 651 in tab.rs
during data reading, after getting a response from server.
Thanks for looking into it. As far as I can tell, It's a problem with how Gio handles the termination phase of some TLS connections.
As you said, the problem started showing up in the moment I switched from async_native_tls to gio.
I still don't know how to properly handle the error though. In the worst case, I will just suppress it. The error is rare and doesn't prevent loading the page, so suppressing it would work.
I see. Is there an issue for it in upstream?
No, there isn't. At least not one made by me. Feel free to open it.
closed with latest commit, suppressing the error