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

Change multipathServiceType to none #183

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

chickdan
Copy link
Contributor

@chickdan chickdan commented Jun 10, 2024

I tried out this SDK for the first time today but spent hours trying to determine why I wasn't getting a response. Drilling down I came across configuration.multipathServiceType = .handover. I was curious what that is since I have not used it before and reading the docs I saw that it Requires the com.apple.developer.networking.multipath entitlement.

Using these service types requires the appropriate entitlement. Any connection attempt will fail if the process does not have the required entitlement.

This explained all of my problems and confirmed as such with the change of this PR.

My suggestion, given this SDK will likely be most used by developers working on hobby projects, is to switch this to .none so that the entitlement is not required. However, if this setting is a hard requirement for the SDK I can change this PR to instead emphasize the need for the entitlement in the README.

@adamayoung
Copy link
Owner

Thanks for spotting this @chickdan. Haven't come across this issue myself.

Copy link

codecov bot commented Jun 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.15%. Comparing base (db60901) to head (79b7234).

Files Patch % Lines
Sources/TMDb/TMDbFactory.swift 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #183   +/-   ##
=======================================
  Coverage   89.15%   89.15%           
=======================================
  Files         198      198           
  Lines        2721     2721           
=======================================
  Hits         2426     2426           
  Misses        295      295           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adamayoung adamayoung enabled auto-merge (squash) June 10, 2024 23:09
@adamayoung adamayoung merged commit 69c0781 into adamayoung:main Jun 10, 2024
15 of 16 checks passed
@chickdan chickdan deleted the change_multipath_service_type branch June 10, 2024 23:14
@movesmyers
Copy link

I am hoping this is a fix for #125. thank you @chickdan !

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.

3 participants