Skip to content

Commit

Permalink
KTOR-2584 Remove invalid session id (#2585)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxr1998 authored Aug 23, 2021
1 parent fbdb808 commit fb3859d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public class SessionTrackerById<S : Any>(
)
}

// we remove the wrong session identifier if no related session found
call.attributes.put(sessionIdKey, sessionId)
// Remove the wrong session identifier if no related session was found
call.attributes.remove(sessionIdKey)

return null
}
Expand Down

0 comments on commit fb3859d

Please sign in to comment.