Skip to content

Unable to sendTextData after receiveData gets an async exception. #182

Description

@michalrus

It’s not possible to implement something like:

do
  msg <- timeout (10*1000*1000) (receiveData conn)
  case msg of
    Just msg -> 
    Nothing ->
      sendTextData conn "timeouted"
      threadDelay (1 * 1000 * 1000) -- even with this…
      sendClose conn

… the client will never see the "timeouted" message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions