You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix read() issue when other end closes the connection
This fixes an issue with read returning -1 immediately if the other
end has closed the connection. Now it returns data as long as there
is data in the buffer regradless of being connected or not.