| 102 | } |
| 103 | |
| 104 | void QHttpConnection::parseRequest() |
| 105 | { |
| 106 | Q_ASSERT(m_parser); |
| 107 | |
| 108 | while (m_socket->bytesAvailable()) { |
| 109 | QByteArray arr = m_socket->readAll(); |
| 110 | http_parser_execute(m_parser, m_parserSettings, arr.constData(), arr.size()); |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | void QHttpConnection::write(const QByteArray &data) |
| 115 | { |
nothing calls this directly
no test coverage detected