Skip to content

During port-forwarding, StreamDemuxer returns extra bytes at the beginning #229

Closed
@xinyanmsft

Description

@xinyanmsft

Environment: Azure Kubernetes Service, version 1.11.5
To repro:

  1. Start a port-forwarding StreamDemuxer to a pod in K8s, with "v4.channel.k8s.io".
  2. var stream = streamDemuxer.GetStream(0, null)
  3. call stream.Read

Result:
the first 2 bytes received from the above stream is the port number, not the bytes transmitted from server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions