Skip to content

Fix one/zero byte request body issues in URLSession #112

Description

@xbhatnag

The echo, speak and empty chunked body tests are currently disabled for URLSession which does not pass these tests.

URLSession has issues with bi-directional streaming support:

  • URLSession does not write 1-byte chunks out on the wire (occurs in speak and echo case)
  • URLSession hangs when the request outlives the response (occurs in speak case)
  • URLSession does not send the terminating chunk for a zero-length response body (occurs in empty chunked body case)

We need to root-cause the issue in URLSession or its API implementation and fix it, so that these tests can be re-enabled.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions