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

mapper: add official support for custom mappers #228

Merged
merged 8 commits into from
May 25, 2024
Merged

Conversation

Gottox
Copy link
Owner

@Gottox Gottox commented May 19, 2024

No description provided.

Copy link

codecov bot commented May 19, 2024

Codecov Report

Attention: Patch coverage is 93.02326% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 63.82%. Comparing base (9c4bdfa) to head (8d0d068).

Files Patch % Lines
libsqsh/src/mapper/mmap_mapper.c 85.71% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #228      +/-   ##
==========================================
- Coverage   63.89%   63.82%   -0.08%     
==========================================
  Files          72       72              
  Lines        5337     5329       -8     
  Branches      772      773       +1     
==========================================
- Hits         3410     3401       -9     
  Misses       1497     1497              
- Partials      430      431       +1     

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

goto out;
}
curl_mapper->url = strdup(input);
curl_mapper->handle = curl_easy_init();

Check failure

Code scanning / SonarCloud

Weak SSL/TLS protocols should not be used

<!--SONAR_ISSUE_KEY:AY-SoQxQ_gjqIBO5XBN5-->Use stronger SSL and TLS versions <p>See more on <a href="https://sonarcloud.io/project/issues?id=Gottox_libsqsh&issues=AY-SoQxQ_gjqIBO5XBN5&open=AY-SoQxQ_gjqIBO5XBN5&pullRequest=228">SonarCloud</a></p>
@Gottox Gottox force-pushed the add/custom_mappers branch 2 times, most recently from faa0a68 to e3ca8a3 Compare May 24, 2024 21:03
This commit makes the mappers more decoupled from the rest of libsqsh.
The user data is now set and retrieved a pointer instead through a
public API instead of accessing SqshMapper directly. This makes the
mappers more opaque to the rest of libsqsh.
Copy link

sonarcloud bot commented May 25, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Gottox Gottox marked this pull request as ready for review May 25, 2024 09:49
@Gottox Gottox merged commit 2828026 into main May 25, 2024
18 checks passed
@Gottox Gottox deleted the add/custom_mappers branch May 26, 2024 20:05
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