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

Stop progress_cb from generating spurious warnings #243

Merged
merged 3 commits into from
Jul 7, 2024

Conversation

TV4Fun
Copy link
Contributor

@TV4Fun TV4Fun commented Jun 27, 2024

progress_cb is used to give progress updates on pushes and pulls. There is
no reason for it to pollute the logs by logging its updates as warnings.
Changed these to plain print statements.

Other fixes:

  • Removed unneeded memcpy in progress_cb: This buffer is already copied by
    godot::String::utf8, so no need to copy it a second time.
  • Fixed unmatched parenthesis in push_transfer_progress_cb: This just looked
    weird.

`progress_cb` is used to give progress updates on pushes and pulls. There is
no reason for it to pollute the logs by logging its updates as warnings.
Changed these to plain print statements.

Other fixes:
* Removed unneeded `memcpy` in `progress_cb`: This buffer is already copied by
  `godot::String::utf8`, so no need to copy it a second time.
* Fixed unmatched parenthesis in `push_transfer_progress_cb`: This just looked
  weird.
OpenSSL 1.1.1 [is EOL](https://www.openssl.org/blog/blog/2023/09/11/eol-111/index.html)
since September 2023. Using an old version of SSL opens us up to vulnerabilities
that have been fixed in newer versions, so we should keep it up to date. I have
built and tested these libraries using the `build_openssl_universal_macos.sh`
script on my own machine, and they work fine.
@Calinou Calinou added the bug label Jul 5, 2024
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

Thanks!

@Calinou Calinou merged commit e86106b into godotengine:master Jul 7, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants