Lines Matching refs:statusCode
317 int statusCode;
319 int lineLength = readStatusLine(header, len, statusCode, statusText);
322 if (statusCode == -1) {
326 LOG(Network, "response code: %d", statusCode);
327 m_response.setStatusCode(statusCode);
329 if (statusCode != 101) {
331 m_context->addMessage(JSMessageSource, LogMessageType, ErrorMessageLevel, makeString("Unexpected response code: ", String::number(statusCode)), 0, clientOrigin(), 0);
420 // statusCode and statusText will be set to -1 and a null string, respectively.
421 int WebSocketHandshake::readStatusLine(const char* header, size_t headerLength, int& statusCode, String& statusText)
427 statusCode = -1;
481 statusCode = statusCodeString.toInt(&ok);