-
Notifications
You must be signed in to change notification settings - Fork 127
feat(connector):Add ironrdp-vmconnector crate, integrated into existing ironrdp-client and ironrdp async #841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@irvingoujAtDevolution I don’t remember very well. What is different from the previous version? |
@CBenoit |
pub async fn run_until_handover( | ||
credssp_finished: &mut CredSSPFinished, | ||
framed: &mut Framed<impl FramedRead + FramedWrite>, | ||
mut connector: VmClientConnector, | ||
) -> ConnectorResult<ClientConnector> { | ||
let result = loop { | ||
single_sequence_step(framed, &mut connector, &mut credssp_finished.write_buf).await?; | ||
|
||
if connector.should_hand_over() { | ||
break connector.hand_over(); | ||
} | ||
}; | ||
|
||
info!("Handover to client connector"); | ||
credssp_finished.write_buf.clear(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: Is handover a terminology used by VMConnect protocol?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, it's only make sense in this context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: What about the extra option EnhancedMode
? I think Hyper-V understands the following format now: <GUID>;EnhancedMode=1
We were having CredSSP issues on enhanced mode, I intend to have that support in separate pull request. |
Coverage Report 🤖 ⚙️Past: New: Diff: -0.66% [this comment will be updated automatically] |
e28091e
to
349b21f
Compare
082acb5
to
69264ff
Compare
Hello @CBenoit , I added dynamically dispatched trait for hyperv connector and normal connectors. The main drive is to avoid copy and paste in previous version. I did it this is way is also to reuse existing code as much as possible, instead of copy each and every method and add a _vmconnect suffix. This might not be the best solution, let me know your thoughts.