Skip to content

Any way to stop requests on connection close? #24

@PaintingWithCode

Description

@PaintingWithCode

Hi, we're using sockets as our transport layer to connect to our Absinthe Schema on the server. We have an authentication module setup where if valid tokens aren't passed in to the socket params we deny the connection and attempt to close by returning an :error in the Phoenix Socket connect function.

The client acknowledges this error and does log a connection: closed error but this does not stop AbsintheSocket from retrying the failed query or mutation endlessly without time outs.

Is there any way to force stop the module or abort the requests?

Metadata

Metadata

Assignees

No one assigned

    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