Skip to content

apply_inflate calling wrong function #6

@vshakitskiy

Description

@vshakitskiy

In websocket.gleam there's apply_inflate but it's calling compression.deflate() instead of compression.inflate():

pub fn apply_inflate(data: BitArray, context: Option(Context)) -> BitArray {
  case context {
    Some(context) -> compression.deflate(context, data)
    _ -> data
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions