Skip to content

Removed openSSL requirement & fixed histogram issues#223

Open
Descent098 wants to merge 2 commits intofcsonline:masterfrom
Descent098:master
Open

Removed openSSL requirement & fixed histogram issues#223
Descent098 wants to merge 2 commits intofcsonline:masterfrom
Descent098:master

Conversation

@Descent098
Copy link
Copy Markdown

Warning: I don't write rust, I just made changes until everything worked for me

Apologies this is 2 changes in 1, I wasn't planning on contributing these, but I figured I would leave that up to the maintainer not me.

Reqwest

I updated the reqwest dependency to 0.13.2, which removes the need for openSSL entirely (#124 ). I wasn't fully sure what trust-dns did in the older versions of request, but I went through the changelogs and found that It was removed in this pr and replaced with system-proxy, so I tacked that on there.

I don't know the rust ecosystem so I ran cargo update, which seems to have also updated other dependencies in the lockfile, but no actual usability seems to be affected by this.

Histogram

The histogram was broken for me (and some others #216 #174 #151 #201), which caused panics. It happened on any requests exceeding 3.6s, so I think the units might have been off. I set the new timeout quite high (think it works out to an hour, which looks like that's what was intended), so that can be tweaked if need be (getting rid of one 60 should be 1 min I think).

Testing

I couldn't see any tests, or know how to run them if there are any, so the only tests I ran were the tests I was running for a project at work. Everything works, and comparing this version to the baseline nothing seems to have broken, and all the numbers are the same (within ~1-5ms).

@Descent098 Descent098 mentioned this pull request Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant