Skip to content

WARNING: Use recvLen defined in "Network.Socket.ByteString" #246

Description

@p-alik

The warning refers to Network.Socket.ByteString but it doesn't provide recvLen

Activity

  1. kazu-yamamoto commented on May 22, 2017

    @kazu-yamamoto
    Collaborator

    I think that we should use Network.Socket.ByteString.recv and Network.ByteString.length instead.

    @eborden What do you think?

  2. eborden commented on May 30, 2017

    @eborden
    Collaborator

    Agreed, we should update this documentation. recvLen is a hack to get around the performance problems of length on String.

  3. kazu-yamamoto commented on May 30, 2017

    @kazu-yamamoto
    Collaborator

    This is fixed by #252. Let's close.

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