Skip to content

Update libcurl and remove openssl dependency#414

Closed
BobTheBob9 wants to merge 1 commit intomainfrom
update-lib-curl-pr
Closed

Update libcurl and remove openssl dependency#414
BobTheBob9 wants to merge 1 commit intomainfrom
update-lib-curl-pr

Conversation

@BobTheBob9
Copy link
Copy Markdown
Member

@BobTheBob9 BobTheBob9 commented Feb 4, 2023

Updates libcurl to version 7.87.0 (with websocket support) built with winssl for ssl support, also removes openssl as it is not currently required for any code or as a dependency for any libs we use

Copy link
Copy Markdown
Member

@GeckoEidechse GeckoEidechse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues in testing on Win8,1 when

  • Authing with MS
  • Joining a random Northstar server

Did not test hosting a server.

@GeckoEidechse GeckoEidechse changed the title update libcurl and remove openssl dependency Update libcurl and remove openssl dependency Feb 6, 2023
@GeckoEidechse
Copy link
Copy Markdown
Member

cc @Erlite cause this is a step towards "WebSockets from Squirrel" (#372)

@pg9182 pg9182 self-requested a review February 6, 2023 05:30
@pg9182
Copy link
Copy Markdown
Member

pg9182 commented Feb 6, 2023

Needs to be tested on Docker, but I'm busy rn.

Copy link
Copy Markdown
Member

@pg9182 pg9182 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please document how the libcurl lib is built so we have it for future reference.

@pg9182 pg9182 self-requested a review February 6, 2023 05:31
Copy link
Copy Markdown
Member

@GeckoEidechse GeckoEidechse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed working on:

@BobTheBob9
Copy link
Copy Markdown
Member Author

Please document how the libcurl lib is built so we have it for future reference.

Downloaded latest libcurl source, used the vc14.30 project in libcurl/projects to build with the options "LIB Release - DLL Windows SSPI" in x64

@pg9182
Copy link
Copy Markdown
Member

pg9182 commented Feb 10, 2023

WinSDK version, @BobTheBob9?

Copy link
Copy Markdown
Member

@pg9182 pg9182 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to investigate this (probably just some missing libs):

ns-aitdm_dev_local-1  | [13:48:50] [NORTHSTAR] [info] SERVER CodeCallback CodeCallback_PostEntityInit called
ns-aitdm_dev_local-1  | [13:48:50] [NORTHSTAR] [info] Not executing custom callbacks for CodeCallback CodeCallback_PostEntityInit
ns-aitdm_dev_local-1  | [13:48:50] [SCRIPT SV] [info] Code Script: _init
ns-aitdm_dev_local-1  | [13:48:50] [NATIVE SV] [info] Created new format snapshot class baseline with 78 classes, 7601 properties and 36KB of prop data.
ns-aitdm_dev_local-1  | [13:48:50] [NORTHSTAR] [info] loading took 16.070063299999997s
ns-aitdm_dev_local-1  | [13:48:50] [NORTHSTAR] [info] Attempting to register the local server to the master server.
ns-aitdm_dev_local-1  | [13:48:50] [NORTHSTAR] [errr] Failed adding self to server list: error SSL connect error
ns-aitdm_dev_local-1  | [13:48:50] [NORTHSTAR] [errr] Reached max ms server registration attempts.

Update: Did a build with full wine, and it's still acting weird... going to try on a different machine.
Update: WTF, it worked... will debug further.
Update: The current release works fine on the first machine tho.
Update: And so does the commit before this PR.
Update: Tried rebuilding the image, and it's still not working on one, but working on the other...
Update: Same thing on another machine.
Update: Not working on yet another machine. Only thing in common is Fedora 37...

@BobTheBob9
Copy link
Copy Markdown
Member Author

WinSDK version, @BobTheBob9?

10.0.0

@GeckoEidechse
Copy link
Copy Markdown
Member

Merge conflicts now btw

@pg9182 pg9182 self-assigned this Apr 18, 2023
@F1F7Y F1F7Y added the merge conflicts Blocked by merge conflicts, waiting on the author to resolve label Jun 28, 2023
@pg9182 pg9182 closed this in #498 Jul 2, 2023
@GeckoEidechse GeckoEidechse reopened this Jul 20, 2023
@GeckoEidechse
Copy link
Copy Markdown
Member

Re-opened cause the PR that closed it was reverted. That being said I expect this PR here to be closed again once #500 is merged.

Mostly treating this PR here as an issue to keep track of what to do :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge conflicts Blocked by merge conflicts, waiting on the author to resolve

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants