Skip to content

net/http: ServeTLS and ListenAndServeTLS are missing #96

Open

Description

@0pcom

net/http here has no Server.ServeTLS, no Server.ListenAndServeTLS and no package level ListenAndServeTLS, so a TinyGo program cannot serve HTTPS. quic-go/http3 also fails to compile, because it references http.ListenAndServeTLS.

On the host target the netdev is raw syscalls with no TLS offload, so this needs Go's software crypto/tls linked in. On netdev targets with TLS offload the methods would be additive and unused.

PR #79 adds them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions