good morning!!!!

Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/nhooyr/websocket. Pull mirroring updated .
  1. Apr 09, 2024
    • Jacob's avatar
      Use new atomic types from Go 1.19 · afe94af9
      Jacob authored
      This is a cleaner solution for the fix in #438 thanks to the fact that Go 1.19 now is the default and the atomic.Int64 types are automatically aligned correctly on 32 bit systems.
      
      Using this also means that xsync.Int64 can be removed. The new atomic.Int64 type solves the issue and should be quite a lot faster as it avoids the interface conversion.
      afe94af9
  2. Apr 07, 2024
  3. Mar 07, 2024
  4. Feb 26, 2024
    • Grigorii Khvatskii's avatar
      Fix unaligned load error on 32-bit architectures · 4c273310
      Grigorii Khvatskii authored
      On some 32-bit architectures, 64-bit atomic operations panic when the
      value is not aligned properly.
      
      In this package, this causes netConn operations to panic when compiling
      with GOARCH=386, since netConn does atomic operations with int64 values
      in the netConn struct (namely, with readExpired and writeExpired).
      
      This commit fixes this by moving readExpired and writeExpired to the
      beginning of the struct, which makes them properly aligned.
      4c273310
  5. Oct 19, 2023
  6. Oct 13, 2023
  7. Jan 09, 2021
  8. Jul 05, 2020
  9. May 18, 2020
  10. Feb 16, 2020
  11. Feb 09, 2020
  12. Nov 29, 2019
  13. Oct 11, 2019
  14. Oct 10, 2019
  15. Oct 09, 2019
    • Anmol Sethi's avatar
      Perfect the close handshake implementation · 3cc6b45f
      Anmol Sethi authored
      3cc6b45f
    • Anmol Sethi's avatar
      Implement complete close handshake · d432e6ba
      Anmol Sethi authored
      I changed my mind after #103 as browsers include a wasClean event to indicate
      whether the connection was closed cleanly. From my tests, if a server using
      this library prior to this commit initiates the close handshake, wasClean
      will be false for the browser as the connection was closed before it could
      respond with a close frame. Thus, I believe it's necessary to fully implement
      the close handshake.
      
      @stephenyama You'll enjoy this.
      d432e6ba
  16. Sep 29, 2019
  17. Sep 27, 2019
  18. Sep 24, 2019
  19. Sep 23, 2019
  20. Sep 22, 2019
  21. Sep 21, 2019
  22. Sep 04, 2019
  23. Sep 01, 2019
  24. Aug 29, 2019
  25. Aug 21, 2019
  26. Aug 15, 2019
  27. Aug 07, 2019
  28. Jul 20, 2019
  29. Jul 19, 2019
Loading