Skip to content
  1. Mar 15, 2016
  2. Mar 14, 2016
  3. Mar 13, 2016
  4. Mar 12, 2016
  5. Mar 11, 2016
    • Matt Caswell's avatar
      Remove some dead code from 1999 · c3caf760
      Matt Caswell authored
      
      
      Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
      c3caf760
    • Matt Caswell's avatar
      Don't clobber the last error · 81161070
      Matt Caswell authored
      
      
      On Windows we call WSAGetLastError() to find out the last error that
      happened on a socket operation. We use this to find out whether we can
      retry the operation or not. You are supposed to call this immediately
      however in a couple of places we logged an error first. This can end up
      making other Windows system calls to get the thread local error state.
      Sometimes that can clobber the error code, so if you call WSAGetLastError()
      later on you get a spurious response and the socket operation looks like
      a fatal error.
      
      Really we shouldn't be logging an error anyway if its a retryable issue.
      Otherwise we could end up with stale errors on the error queue.
      
      Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
      81161070