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

Fix server side device fingerprinting failing in edge cases. #319

Merged
merged 4 commits into from
Aug 2, 2021

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Aug 2, 2021

Continuation of #310
Inject device infos for fingerprinting into every packet.

kevinslashslash and others added 3 commits August 2, 2021 15:27
An actual race here is presumably unlikely, but if it were to happen it makes
more sense for all these preferences to be set together rather than alternating
between multiple calls.
@d4rken
Copy link
Member Author

d4rken commented Aug 2, 2021

@kevinslashslash what do you think?

@codecov-commenter
Copy link

Codecov Report

Merging #319 (3da803e) into master (b20e8ef) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #319      +/-   ##
============================================
- Coverage     86.39%   86.38%   -0.01%     
+ Complexity      375      372       -3     
============================================
  Files            33       33              
  Lines          1426     1425       -1     
  Branches        168      167       -1     
============================================
- Hits           1232     1231       -1     
- Misses          122      123       +1     
+ Partials         72       71       -1     
Impacted Files Coverage Δ
tracker/src/main/java/org/matomo/sdk/Tracker.java 93.29% <100.00%> (+0.51%) ⬆️
...a/org/matomo/sdk/dispatcher/DefaultDispatcher.java 93.27% <0.00%> (-0.85%) ⬇️
...er/src/main/java/org/matomo/sdk/tools/Objects.java 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b20e8ef...3da803e. Read the comment docs.

@kevinslashslash
Copy link
Contributor

LGTM

@d4rken d4rken merged commit 532a88a into master Aug 2, 2021
@d4rken d4rken deleted the device-information branch August 2, 2021 21:07
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.

Device information only report for first session per process
3 participants