Lines Matching defs:request
25 /* Structure passed around as baton for the CONNECT request and respone. */
32 static apr_status_t setup_request(serf_request_t *request,
41 static serf_bucket_t* accept_response(serf_request_t *request,
52 /* get the per-request bucket allocator */
53 bkt_alloc = serf_request_get_alloc(request);
61 /* If a 200 OK was received for the CONNECT request, consider the connection
63 static apr_status_t handle_response(serf_request_t *request,
71 serf_connection_t *conn = request->conn;
73 /* CONNECT request was cancelled. Assuming that this is during connection
74 reset, we can safely discard the request as a new one will be created
94 /* RFC 2817: Any successful (2xx) response to a CONNECT request indicates
137 /* Prepare the CONNECT request. */
138 static apr_status_t setup_request(serf_request_t *request,
150 serf_request_bucket_request_create(request,
153 serf_request_get_alloc(request));
169 /* SSL tunnel is needed, push a CONNECT request on the connection. */