good morning!!!!

Skip to content
Snippets Groups Projects
  1. Oct 10, 2023
  2. Dec 13, 2022
  3. Apr 10, 2021
  4. Apr 07, 2021
    • Anmol Sethi's avatar
      Merge pull request #291 from nhooyr/dos-56b8 · 3604edcb
      Anmol Sethi authored
      Fix DOS attack from malicious pongs
      v1.8.7
      3604edcb
    • Anmol Sethi's avatar
      Fix CI · b0d7a271
      Anmol Sethi authored
      b0d7a271
    • Anmol Sethi's avatar
      Fix DOS attack from malicious pongs · 129d3035
      Anmol Sethi authored
      A double channel close panic was possible if a peer sent back multiple
      pongs for every ping.
      
      If the second pong arrived before the ping goroutine deleted its channel
      from the map, the channel would be closed twice and so a panic would
      ensue.
      
      This fixes that by having the read goroutine send on the ping
      goroutine's channel rather than closing it.
      
      Reported via email by Tibor Kálmán @kalmant
      
      Please update to the new release ASAP!
      129d3035
  5. Jan 09, 2021
  6. Dec 23, 2020
    • Egor Gorbunov's avatar
      Do not lower header tokens in headerTokens() (#273) · e4c3b0f8
      Egor Gorbunov authored
      HTTP header values, as opposed to header keys,
      are case sensitive, but implementation of headerTokens()
      before this patch would return lowered values always.
      
      This old behavior could lead to chromium (v87) WebSocket
      rejecting connnection because negotiated subprotocol,
      returned in Sec-WebSocket-Protocol header (lowered
      be headerToken() function) would not match one sent
      by client, in case client specified value with capital
      letters.
      e4c3b0f8
  7. Nov 26, 2020
Loading