good morning!!!!

Skip to content
Snippets Groups Projects
  1. Oct 13, 2023
    • Simon Ser's avatar
      Use net.ErrClosed · e9d08816
      Simon Ser authored
      Go 1.16 has introduced net.ErrClosed, which should be returned/wrapped when an
      I/O call is performed on a network connection which has already been closed.
      This is useful to avoid cluttering logs with messages like "failed to close
      WebSocket: already wrote close".
      
      Closes: https://github.com/nhooyr/websocket/issues/286
      e9d08816
  2. Oct 10, 2023
  3. Feb 25, 2023
  4. Dec 13, 2022
  5. Apr 10, 2021
  6. 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
  7. Jan 09, 2021
Loading