good morning!!!!

Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/nhooyr/websocket. Pull mirroring updated .
  1. Sep 06, 2024
  2. Aug 22, 2024
  3. Aug 21, 2024
  4. Aug 15, 2024
  5. Aug 09, 2024
  6. Apr 12, 2024
  7. Apr 11, 2024
  8. 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
  9. Apr 07, 2024
  10. Apr 05, 2024
  11. Mar 07, 2024
  12. Mar 05, 2024
  13. 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
Loading