Skip to content

fix: expose server as Http2SecureServer type#10196

Merged
patak-cat merged 8 commits intovitejs:mainfrom
PengBoUESTC:feature/http-server-type
Oct 20, 2022
Merged

fix: expose server as Http2SecureServer type#10196
patak-cat merged 8 commits intovitejs:mainfrom
PengBoUESTC:feature/http-server-type

Conversation

@PengBoUESTC
Copy link
Copy Markdown
Contributor

Description

add Http2SecureServer type for vite server

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • [] Ideally, include relevant tests that fail without this PR but pass with it.

@bluwy bluwy changed the title chore: http server type fix: expose server as Http2SecureServer type Sep 23, 2022
let pendingListeners = []
let started = false
let size = 0
const { end, write, on, writeHead } = res
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This change is unrelated to the PR, would you revert it?

@patak-cat
Copy link
Copy Markdown
Member

/ecosystem-ci run

@vite-ecosystem-ci
Copy link
Copy Markdown

vite-ecosystem-ci bot commented Oct 14, 2022

📝 Ran ecosystem CI: Open

suite result
astro ✅ success
histoire ✅ success
iles ✅ success
ladle ✅ success
laravel ✅ success
marko ❌ failure
nuxt-framework ✅ success
rakkas ✅ success
svelte ✅ success
vite-plugin-ssr ✅ success
vite-setup-catalogue ✅ success
vitepress ❌ failure
vitest ✅ success
windicss ✅ success

@PengBoUESTC PengBoUESTC requested a review from patak-cat October 14, 2022 09:51
@PengBoUESTC
Copy link
Copy Markdown
Contributor Author

Is there anything else to optimize? @patak-dev

@patak-cat patak-cat added this to the 3.2 milestone Oct 19, 2022
@patak-cat patak-cat added the p2-nice-to-have Not breaking anything but nice to have (priority) label Oct 19, 2022
@patak-cat patak-cat merged commit f328f61 into vitejs:main Oct 20, 2022
@PengBoUESTC
Copy link
Copy Markdown
Contributor Author

Thanks! ^ _ ^

patak-cat added a commit that referenced this pull request Oct 21, 2022
patak-cat added a commit that referenced this pull request Oct 21, 2022
@PengBoUESTC PengBoUESTC deleted the feature/http-server-type branch January 11, 2023 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2-nice-to-have Not breaking anything but nice to have (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants