Lines Matching refs:HttpConnection
44 HttpConnection* connection = FindConnection(connection_id); in AcceptWebSocket()
53 HttpConnection* connection = FindConnection(connection_id); in SendOverWebSocket()
61 HttpConnection* connection = FindConnection(connection_id); in SendRaw()
100 HttpConnection* connection = FindConnection(connection_id); in Close()
119 HttpConnection* connection = FindConnection(connection_id); in SetReceiveBufferSize()
125 HttpConnection* connection = FindConnection(connection_id); in SetSendBufferSize()
153 HttpConnection* connection = in HandleAcceptResult()
154 new HttpConnection(++last_id_, accepted_socket_.Pass()); in HandleAcceptResult()
162 void HttpServer::DoReadLoop(HttpConnection* connection) { in DoReadLoop()
165 HttpConnection::ReadIOBuffer* read_buf = connection->read_buf(); in DoReadLoop()
184 HttpConnection* connection = FindConnection(connection_id); in OnReadCompleted()
192 int HttpServer::HandleReadResult(HttpConnection* connection, int rv) { in HandleReadResult()
198 HttpConnection::ReadIOBuffer* read_buf = connection->read_buf(); in HandleReadResult()
273 void HttpServer::DoWriteLoop(HttpConnection* connection) { in DoWriteLoop()
275 HttpConnection::QueuedWriteIOBuffer* write_buf = connection->write_buf(); in DoWriteLoop()
289 HttpConnection* connection = FindConnection(connection_id); in OnWriteCompleted()
297 int HttpServer::HandleWriteResult(HttpConnection* connection, int rv) { in HandleWriteResult()
449 HttpConnection* HttpServer::FindConnection(int connection_id) { in FindConnection()
460 bool HttpServer::HasClosedConnection(HttpConnection* connection) { in HasClosedConnection()