Skip to content

Can no longer get SocketType from active socket #372

Description

@gregorycollins

Hi,

You used to be able to get the SocketType from an active Socket by pattern-matching the MkSocket constructor. Since 3.0 this no longer seems to be possible. This breaks io-streams-haproxy. We should expose a getSocketType :: Socket -> SocketType. I'll prepare a PR

Activity

  1. added a commit that references this issue on Jan 28, 2019
    76402dc
  2. kazu-yamamoto commented on Jan 29, 2019

    @kazu-yamamoto
    Collaborator

    Sorry for your incovenience.
    Would you add "Since: " to its document?

  3. added a commit that references this issue on Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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