Skip to content
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

MI_Session needs to do http connection caching #217

Closed
paulcallen opened this issue Feb 1, 2017 · 5 comments
Closed

MI_Session needs to do http connection caching #217

paulcallen opened this issue Feb 1, 2017 · 5 comments
Assignees
Milestone

Comments

@paulcallen
Copy link
Contributor

Currently every request goes over a fresh http connection. We need to cache connections aggressively so they are reused. This is especially important when going over the internet and doing powershell remoting to office365/exchange.

@JumpingYang001
Copy link
Contributor

I am interesting to fix it, but I don't know how to start with this, does store "MI_Session *session" in a static Array<MI_Session> object in Session_Create:https://github.com/Microsoft/omi/blob/master/Unix/miapi/Session.c#L166 will fit this "cache connections aggressively so they are reused", or can you give some suggestions for this? thanks very much!

@paulcallen
Copy link
Contributor Author

I am working on this issue. It requires multiple fixes to get to the final goal. I have just been busy on other things to make much progress.

@paulcallen paulcallen modified the milestone: 1.4.0 Jun 21, 2017
@paulcallen paulcallen self-assigned this Jun 21, 2017
@armislv
Copy link

armislv commented Sep 8, 2017

New-PSSession : [outlook.office365.com] Connecting to remote server outlook.office365.com failed with the following error message :
MI_RESULT_FAILED For more information, see the about_Remote_Troubleshooting Help topic.

PowerShell v6.0.0-beta.6
Centos 7
but according this, it should work:
https://mattmcnabb.github.io/O365-PowerShell-On-Linux

@sarojcare
Copy link
Contributor

George will check with Paul and make the call.

@palladia
Copy link
Contributor

palladia commented Aug 2, 2018

Discussed this with Paul. It's technically not a bug, but an enhancement to performance when talking with PowerShell and Office365. Closing this for now, since it's unlikely we will have resources to work on this.

@palladia palladia closed this as completed Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants