Lines Matching defs:conn
64 struct connectdata *conn)
75 if(conn->recv_pipe && conn->recv_pipe->head) {
76 struct SessionHandle *recv_handle = conn->recv_pipe->head->ptr;
85 (curl_off_t)conn->chunk.datasize > chunk_penalty_size)
90 conn->connection_id, (void *)conn, recv_size,
91 conn->chunk.datasize, penalized?"TRUE":"FALSE");
98 struct connectdata *conn)
100 struct curl_llist_element *sendhead = conn->send_pipe->head;
104 pipeline = conn->send_pipe;
108 if(pipeline == conn->send_pipe && sendhead != conn->send_pipe->head) {
110 conn->writechannel_inuse = FALSE; /* not in use yet */
111 Curl_expire(conn->send_pipe->head->ptr, 1);
115 print_pipeline(conn);
128 struct connectdata *conn)
132 curr = conn->send_pipe->head;
135 Curl_llist_move(conn->send_pipe, curr,
136 conn->recv_pipe, conn->recv_pipe->tail);
138 if(conn->send_pipe->head) {
141 conn->writechannel_inuse = FALSE; /* not used now */
143 infof(conn->data, "%p is at send pipe head B!\n",
144 (void *)conn->send_pipe->head->ptr);
146 Curl_expire(conn->send_pipe->head->ptr, 1);
160 struct connectdata *conn)
174 if(Curl_raw_equal(site->hostname, conn->host.name) &&
175 site->port == conn->remote_port) {
177 conn->host.name, conn->remote_port);
318 void print_pipeline(struct connectdata *conn)
322 struct SessionHandle *data = conn->data;
324 cb_ptr = conn->bundle;
329 conn = curr->ptr;
331 conn->connection_id,
332 (void *)conn,
333 conn->send_pipe->size,
334 conn->recv_pipe->size);