good morning!!!!

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