pmattes / x3270

Family of IBM 3270 emulators
46 stars 18 forks source link

Invoke net_connected_complete after proxy connect #12

Closed Andreas-Krebbel closed 3 years ago

Andreas-Krebbel commented 3 years ago

connect-disconnect-connect does not work right now over a proxy connection. The problem appears to be stale data in myopts. For normal connections this data structure is zeroed out by net_connected_complete. However, this does not appear to happen for connections via proxy. These connections need more steps and will be completed via net_input->proxy_continue invocations.

With this patch net_connected_complete is called on that path as well. This fixes the problem for me.