-
Notifications
You must be signed in to change notification settings - Fork 940
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
Require net/https for use of 'OpenSSL::SSL...' constants #1471
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1471 +/- ##
=========================================
- Coverage 62.72% 62.6% -0.12%
=========================================
Files 30 30
Lines 1481 1487 +6
=========================================
+ Hits 929 931 +2
- Misses 552 556 +4
Continue to review full report at Codecov.
|
@micro128390
@ytti, @micro128390 |
Just a thought:
|
Is there full crash file? I'd like to see where the openssl dependency comes from and if we have options. |
@micro128390 |
@ytti https://github.com/ytti/oxidized/blob/master/lib/oxidized/source/http.rb#L59 here it is using |
@micro128390 could you check if requiring |
Yes, requiring net/https fixes it (because net/https requires openssl internally). Tested and works. Feel free to delete this PR and just make this change elsewhere. Thanks very much to the authors/contributors for useful software. |
@micro128390 thanks for working on this! I've modified your commit to reference "net/https" instead and merged it in. |
try this (without cfg file listings), work for me |
Description
Current issue:
When using an
http
source andsecure: false
, oxidized gives error:Fix
We require the 'openssl' package.