Closed tmarnell closed 1 year ago
Check the result of socket_recv within read() and throw a BaseXException if 0 or false. Without this check, an unexpected closure or error in the middle of a read operation will result in a never ending while loop within readString().
Check the result of socket_recv within read() and throw a BaseXException if 0 or false. Without this check, an unexpected closure or error in the middle of a read operation will result in a never ending while loop within readString().