>
> I think I've managed to take care of this concern - I implemented a
>>> pthread_cond_timedwait() for each of the parameters that get requested, and
>>> then a pthread_cond_broadcast() within the argv handler to signal the
>>> completion.  It's a little hard to tell if it's working properly with the
>>> issues I'm having with data not being sent, but during the prompt I see the
>>> nop debug messages on the server side, and the connection never times out,
>>> so I think it's waiting properly.
>>>
>>
>>
> Apparently I haven't quite gotten this nailed down, yet - something with
> handling the pthread condition isn't working right...
>
>
Good news - I have prompting working in RDP connections for authentication
parameters using the rdp_freerdp_authenticate() callback, along with some
pthread_cond_wait() and the "required" and "argv" instructions.  Next
steps: clean up the code, and then possibly switch SSH and Telnet (and
maybe VNC and Kubernetes, depending on how those work) over to use this
method rather than the current terminal prompting that they do (assuming
that's desired?).

Hopefully closing in on having this ready for review, maybe even for
whatever release comes after 1.1.0.

-Nick

Reply via email to