this bug is also reported upstream as https://gitlab.gnome.org/GNOME/pan/-/issues/30
I am using pan to connect to the news servers of
news*.open-news-network.org. Some of them are using NTTPS. I have started
pan with the options "--debug --debug --debug-ssl". After some time,
pan doesn't respond anymore. The output shows a continues stream of the
following debug output. It looks like it is in some loop.
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode READ: _tag_watch is now 869250
(socket-impl-openssl.cc:743:gio_func) gio_func: sock 0x7f55840051a0, channel 0x7f5584006600, cond IN
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f5594001360 calling set_watch_mode 2; _channel is 0x7f5594001e40
(socket-impl-openssl.cc:766:set_watch_mode) channel 0x7f5594001e40 setting mode **IGNORE**
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode IGNORE: _tag_watch is now 0
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f5594001360 calling set_watch_mode 0; _channel is 0x7f5594001e40
(socket-impl-openssl.cc:770:set_watch_mode) channel 0x7f5594001e40 setting mode read
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode READ: _tag_watch is now 869252
(socket-impl-openssl.cc:743:gio_func) gio_func: sock 0x7f5594001360, channel 0x7f5594001e40, cond IN
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f558c018c40 calling set_watch_mode 2; _channel is 0x7f558c016020
(socket-impl-openssl.cc:766:set_watch_mode) channel 0x7f558c016020 setting mode **IGNORE**
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode IGNORE: _tag_watch is now 0
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f558c018c40 calling set_watch_mode 0; _channel is 0x7f558c016020
(socket-impl-openssl.cc:770:set_watch_mode) channel 0x7f558c016020 setting mode read
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode READ: _tag_watch is now 869254
(socket-impl-openssl.cc:743:gio_func) gio_func: sock 0x7f558c018c40, channel 0x7f558c016020, cond IN
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f558c001360 calling set_watch_mode 2; _channel is 0x7f558c001820
(socket-impl-openssl.cc:766:set_watch_mode) channel 0x7f558c001820 setting mode **IGNORE**
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode IGNORE: _tag_watch is now 0
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f558c001360 calling set_watch_mode 0; _channel is 0x7f558c001820
(socket-impl-openssl.cc:770:set_watch_mode) channel 0x7f558c001820 setting mode read
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode READ: _tag_watch is now 869256
(socket-impl-openssl.cc:743:gio_func) gio_func: sock 0x7f558c001360, channel 0x7f558c001820, cond IN
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f55840051a0 calling set_watch_mode 2; _channel is 0x7f5584006600
(socket-impl-openssl.cc:766:set_watch_mode) channel 0x7f5584006600 setting mode **IGNORE**
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode IGNORE: _tag_watch is now 0
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f55840051a0 calling set_watch_mode 0; _channel is 0x7f5584006600
(socket-impl-openssl.cc:770:set_watch_mode) channel 0x7f5584006600 setting mode read
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode READ: _tag_watch is now 869258
(socket-impl-openssl.cc:743:gio_func) gio_func: sock 0x7f55840051a0, channel 0x7f5584006600, cond IN
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f5594001360 calling set_watch_mode 2; _channel is 0x7f5594001e40
(socket-impl-openssl.cc:766:set_watch_mode) channel 0x7f5594001e40 setting mode **IGNORE**
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode IGNORE: _tag_watch is now 0
(socket-impl-openssl.cc:757:set_watch_mode) socket 0x7f5594001360 calling set_watch_mode 0; _channel is 0x7f5594001e40
(socket-impl-openssl.cc:770:set_watch_mode) channel 0x7f5594001e40 setting mode read
(socket-impl-openssl.cc:786:set_watch_mode) set_watch_mode READ: _tag_watch is now 869260