A brief file description. More...
#include "Regression.h"
#include "HttpTransact.h"
#include "HttpSM.h"
Go to the source code of this file.
Functions | |
void | forceLinkRegressionHttpTransact () |
static void | init_sm (HttpSM *sm) |
static void | setup_client_request (HttpSM *sm, const char *scheme, const char *request) |
REGRESSION_TEST() | HttpTransact_is_request_valid (RegressionTest *t, int, int *pstatus) |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file RegressionHttpTransact.cc.
void forceLinkRegressionHttpTransact | ( | ) |
Definition at line 28 of file RegressionHttpTransact.cc.
Referenced by forceLinkRegressionHttpTransactCaller().
REGRESSION_TEST() HttpTransact_is_request_valid | ( | RegressionTest * | t, | |
int | , | |||
int * | pstatus | |||
) |
Definition at line 65 of file RegressionHttpTransact.cc.
References HttpTransact::State::hdr_info, HttpTransact::is_request_valid(), rprintf(), setup_client_request(), and HttpSM::t_state.
static void init_sm | ( | HttpSM * | sm | ) | [static] |
Definition at line 33 of file RegressionHttpTransact.cc.
References HttpTransact::State::hdr_info, HTTP_TYPE_REQUEST, HttpSM::init(), and HttpSM::t_state.
Referenced by setup_client_request().
static void setup_client_request | ( | HttpSM * | sm, | |
const char * | scheme, | |||
const char * | request | |||
) | [static] |
Definition at line 42 of file RegressionHttpTransact.cc.
References MIOBuffer::alloc_reader(), free_MIOBuffer(), HttpTransact::State::hdr_info, HTTP_HEADER_BUFFER_SIZE_INDEX, http_parser_init(), init_sm(), new_MIOBuffer, HttpSM::t_state, and MIOBuffer::write().
Referenced by HttpTransact_is_request_valid().