good morning!!!!

Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/nhooyr/websocket. Pull mirroring updated .
  1. 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
  2. Oct 25, 2023
  3. Oct 20, 2023
  4. Oct 19, 2023
Loading