Lines Matching defs:message
435 * If a message is received with both a Transfer-Encoding header field and a Content-Length
440 // for keep alive we need to read the whole message to clean up the socket for the next read
575 * @param string $message Description of what is being read
580 protected function sendData($socket, $data, $message) {
588 throw new HTTPClientException(sprintf('Timeout while sending %s (%.3fs)',$message, $time_used), -100);
590 throw new HTTPClientException("Socket disconnected while writing $message");
605 throw new HTTPClientException("Failed writing to socket while sending $message", -100);
618 * @param string $message Description of what is being read
625 protected function readData($socket, $nbytes, $message, $ignore_eof = false) {
634 sprintf('Timeout while reading %s after %d bytes (%.3fs)', $message,
638 throw new HTTPClientException("Premature End of File (socket) while reading $message");
655 throw new HTTPClientException("Failed reading from socket while reading $message", -100);
669 * @param string $message Description of what is being read
675 protected function readLine($socket, $message) {
681 sprintf('Timeout while reading %s (%.3fs) >%s<', $message, $time_used, $r_data),
684 throw new HTTPClientException("Premature End of File (socket) while reading $message");