Skip to content

fix(ext/http): make Deno.ServeDefaultExport generic #29450

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

iuioiua
Copy link
Contributor

@iuioiua iuioiua commented May 26, 2025

Deno.ServeDefaultExport now reflects that deno serve supports Unix and VSOCK sockets under the hood.

deno/ext/http/00_serve.ts

Lines 1130 to 1140 in 79a9868

switch (transport) {
case "tcp":
target = `http://${formatHostName(hostname)}:${port}/`;
break;
case "unix":
target = path;
break;
case "vsock":
target = `vsock:${cid}:${port}`;
break;
}

Blocked by #29449

@iuioiua iuioiua changed the title fix(ext/http): make ServeDefaultExport generic fix(ext/http): make Deno.ServeDefaultExport generic May 26, 2025
@iuioiua iuioiua marked this pull request as draft May 26, 2025 03:14
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