Skip to content

Commit

Permalink
fix(electron): update undici to fix infinite loading issue when a htt…
Browse files Browse the repository at this point in the history
…p2 server is restarted after sending a request and sending a request again (fixes #301)

steps to reproduce the bug before this commit:
1. npm start packages/test-api-http2
2. disable ssl checking in restfox
3. send request to https://localhost:8443
4. stop server
5. send request again - you'll now see the infinite loader
6. start server again
7. cancel the loader using "cancel request"
8. send request again - this will succeed
  • Loading branch information
flawiddsouza committed Dec 31, 2024
1 parent cc632dc commit d347e9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions packages/electron/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"jsonfile": "^4.0.0",
"mkdirp": "^0.5.1",
"open": "^10.1.0",
"undici": "^6.20.1",
"undici": "^7.2.0",
"update-electron-app": "^2.0.1"
},
"config": {
Expand Down

0 comments on commit d347e9a

Please sign in to comment.