Lines Matching refs:_conn
26 static void http_client_connection_input(struct connection *_conn);
118 http_client_connection_server_close(struct http_client_connection **_conn)
120 struct http_client_connection *conn = *_conn;
141 http_client_connection_close(_conn);
145 http_client_connection_abort_error(struct http_client_connection **_conn,
148 struct http_client_connection *conn = *_conn;
163 http_client_connection_close(_conn);
223 http_client_connection_abort_temp_error(struct http_client_connection **_conn,
226 struct http_client_connection *conn = *_conn;
235 http_client_connection_close(_conn);
238 void http_client_connection_lost(struct http_client_connection **_conn,
241 struct http_client_connection *conn = *_conn;
259 http_client_connection_abort_error(_conn,
268 http_client_connection_abort_temp_error(_conn,
665 static void http_client_connection_destroy(struct connection *_conn)
668 (struct http_client_connection *)_conn;
672 switch (_conn->disconnect_reason) {
679 _conn->name, msecs/1000, msecs%1000);
685 _conn->name, msecs/1000, msecs%1000);
697 (_conn->input == NULL ? NULL :
698 i_stream_get_error(_conn->input)));
894 static void http_client_connection_input(struct connection *_conn)
897 (struct http_client_connection *)_conn;
910 _conn->last_input = ioloop_time;
927 _conn->name,
1281 http_client_connection_start_tunnel(struct http_client_connection **_conn,
1284 struct http_client_connection *conn = *_conn;
1304 http_client_connection_unref(_conn);
1449 http_client_connection_connected(struct connection *_conn, bool success)
1452 (struct http_client_connection *)_conn;
1460 "connect(%s) failed: %m", _conn->name));
1465 (void)net_set_tcp_nodelay(_conn->fd_out, TRUE);
1467 if (net_set_send_buffer_size(_conn->fd_out,
1473 if (net_set_recv_buffer_size(_conn->fd_in,
1774 bool http_client_connection_unref(struct http_client_connection **_conn)
1776 struct http_client_connection *conn = *_conn;
1781 *_conn = NULL;
1814 void http_client_connection_close(struct http_client_connection **_conn)
1816 struct http_client_connection *conn = *_conn;
1822 http_client_connection_unref(_conn);