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

refactor(dslx): finish making funcs stateless #1381

Merged
merged 4 commits into from
Oct 25, 2023
Merged

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Oct 25, 2023

This diff completes the work described by and closes ooni/probe#2612.

We make the HTTPRequest stateless (use git diff -w to avoid noise caused by whitespace changes).

We rename HTTPTransport to HTTPConnection since that is a better name.

We make HTTPConnection adapters stateless as well.

The new name is significantly more proper considering how we're
actually using such a data type.

Conflicts:
	internal/dslx/http_test.go
@bassosimone bassosimone merged commit 430f1c2 into master Oct 25, 2023
10 checks passed
@bassosimone bassosimone deleted the issue/2545-small-4 branch October 25, 2023 08:41
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
This diff completes the work described by and closes
ooni/probe#2612.

We make the HTTPRequest stateless (use `git diff -w` to avoid noise
caused by whitespace changes).

We rename HTTPTransport to HTTPConnection since that is a better name.

We make HTTPConnection adapters stateless as well.
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.

dslx: make functions stateless
1 participant