A brief file description. More...
#include "TestPreProc.h"
#include "IOBufferPool.h"
#include "IOBuffer.h"
#include "HttpPreProc.h"
#include "HttpMessage.h"
#include "HttpPreProcMessageManager.h"
#include "RawHashTable.h"
#include "ink_time.h"
#include <string.h>
#include <iostream.h>
Go to the source code of this file.
Functions | |
void | dumpMessage (const HttpMessage &msg) |
void | testPreProc () |
double | testPreProc (unsigned loopCount) |
main () | |
Variables | |
char * | request1 |
char * | response1 = "HTTP/1.1 200\r\n\r\n" |
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 TestPreProc.cc.
void dumpMessage | ( | const HttpMessage & | msg | ) |
Definition at line 91 of file TestPreProc.cc.
References METHOD_DELETE, METHOD_GET, METHOD_HEAD, METHOD_NONE, METHOD_OPTIONS, METHOD_POST, METHOD_PUT, METHOD_TRACE, SCHEME_HTTP, and SCHEME_NONE.
main | ( | ) |
Definition at line 178 of file TestPreProc.cc.
References testPreProc().
double testPreProc | ( | unsigned | loopCount | ) |
Definition at line 148 of file TestPreProc.cc.
References ink_time_wall_seconds(), RequestInput::isDone(), request1, and RequestInput::run().
void testPreProc | ( | ) |
Referenced by main().
char* request1 |
"GET http://trafficserver.apache.org HTTP/1.1\r\n\ Accept: text/*, text/html, text/html; level=1\r\n\ Accept-Charset: iso-8859-5, unicode-1-1;q=0.8\r\n\r\n"
Definition at line 39 of file TestPreProc.cc.
char* response1 = "HTTP/1.1 200\r\n\r\n" |
Definition at line 42 of file TestPreProc.cc.