Lines Matching refs:request
30 /* Structure passed around as baton for the CONNECT request and respone. */
37 static apr_status_t setup_request(serf_request_t *request,
46 static serf_bucket_t* accept_response(serf_request_t *request,
57 /* get the per-request bucket allocator */
58 bkt_alloc = serf_request_get_alloc(request);
66 /* If a 200 OK was received for the CONNECT request, consider the connection
68 static apr_status_t handle_response(serf_request_t *request,
76 serf_connection_t *conn = request->conn;
78 /* CONNECT request was cancelled. Assuming that this is during connection
79 reset, we can safely discard the request as a new one will be created
99 /* RFC 2817: Any successful (2xx) response to a CONNECT request indicates
142 /* Prepare the CONNECT request. */
143 static apr_status_t setup_request(serf_request_t *request,
155 serf_request_bucket_request_create(request,
158 serf_request_get_alloc(request));
174 /* SSL tunnel is needed, push a CONNECT request on the connection. */