httperf  0.9.0
About: httperf is a tool for measuring web server performance.
  Fossies Dox: httperf-0.9.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

http.c File Reference
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <httperf.h>
#include <http.h>
#include <call.h>
#include <event.h>
#include <conn.h>
Include dependency graph for http.c:

Go to the source code of this file.

Functions

static int get_line (Call *c, char **bufp, size_t *buf_lenp)
 
static void parse_status_line (Call *c, char **bufp, size_t *buf_lenp)
 
static void parse_headers (Call *c, char **bufp, size_t *buf_lenp)
 
static void parse_footers (Call *c, char **bufp, size_t *buf_lenp)
 
static int parse_data (Call *c, char **bufp, size_t *buf_lenp)
 
static void xfer_chunked (Call *c, char **bufp, size_t *buf_lenp)
 
void http_process_reply_bytes (Call *c, char **bufp, size_t *buf_lenp)
 

Function Documentation

◆ get_line()

static int get_line ( Call c,
char **  bufp,
size_t *  buf_lenp 
)
static

Definition at line 54 of file http.c.

References Call::conn, Conn::line, Conn::line_buf, and prog_name.

Referenced by parse_footers(), parse_headers(), parse_status_line(), and xfer_chunked().

◆ http_process_reply_bytes()

◆ parse_data()

static int parse_data ( Call c,
char **  bufp,
size_t *  buf_lenp 
)
static

◆ parse_footers()

static void parse_footers ( Call c,
char **  bufp,
size_t *  buf_lenp 
)
static

◆ parse_headers()

◆ parse_status_line()

◆ xfer_chunked()

static void xfer_chunked ( Call c,
char **  bufp,
size_t *  buf_lenp 
)
static