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: support request uds and tcp at the same time #451

Merged
merged 3 commits into from
May 24, 2023

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented May 24, 2023

@fengmk2 fengmk2 added the bug Something isn't working label May 24, 2023
@fengmk2 fengmk2 requested a review from killagu May 24, 2023 02:30
assert.deepStrictEqual(result.data, { a: 1 });
assert(result.res.socket.handledResponses > 1);

result = await urllib.request('http://unix/api/v1', {
socketPath: _socketPath,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要再创建一个新的 socketPath

test/options.socketPath.test.ts Fixed Show fixed Hide fixed
test/options.socketPath.test.ts Dismissed Show dismissed Hide dismissed
test/options.socketPath.test.ts Dismissed Show dismissed Hide dismissed
@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Merging #451 (fcfca98) into master (a324eeb) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #451   +/-   ##
=======================================
  Coverage   99.51%   99.52%           
=======================================
  Files           8        8           
  Lines        1246     1253    +7     
  Branches      241      242    +1     
=======================================
+ Hits         1240     1247    +7     
  Misses          6        6           
Impacted Files Coverage Δ
src/index.ts 98.07% <100.00%> (+0.29%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

test/options.socketPath.test.ts Dismissed Show dismissed Hide dismissed
@fengmk2 fengmk2 merged commit 3583219 into master May 24, 2023
21 of 22 checks passed
@fengmk2 fengmk2 deleted the fix-uds-socket-mixed branch May 24, 2023 03:03
fengmk2 pushed a commit that referenced this pull request May 24, 2023
[skip ci]

## [3.16.1](v3.16.0...v3.16.1) (2023-05-24)

### Bug Fixes

* support request uds and tcp at the same time ([#451](#451)) ([3583219](3583219))
@github-actions
Copy link

🎉 This PR is included in version 3.16.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant