Skip to content

sockets fixes&extensions

Ondrej Pokorny requested to merge fpc-ondrej/source:socket_fixes into main
  • SSL sockets: propagate socket error on SSL_ERROR_SYSCALL (SSL_ERROR_SYSCALL means an error happened on the underlying socket)

  • set FSocketInitialized to False in TSocketStream.Close (fix AV when Close is called twice)

  • Sockets errors redefined as regular Berkeley error constants also for Linux + add EINTR for Win

Merge request reports