#include <tcp_conn.h>

Data Fields | |
| char * | body |
| char | buf [TCP_BUF_SIZE+1] |
| unsigned int | bytes_to_go |
| unsigned short | complete |
| unsigned int | content_len |
| enum tcp_req_errors | error |
| unsigned short | has_content_len |
| struct tcp_req * | next |
| char * | parsed |
| char * | pos |
| char * | start |
| enum tcp_req_states | state |
Definition at line 82 of file tcp_conn.h.
| char* body |
body position
Definition at line 89 of file tcp_conn.h.
| char buf[TCP_BUF_SIZE+1] |
bytes read so far (+0-terminator)
Definition at line 85 of file tcp_conn.h.
Referenced by tls_read().
| unsigned int bytes_to_go |
how many bytes we have still to read from the body
Definition at line 93 of file tcp_conn.h.
| unsigned short complete |
1 if one req has been fully read, 0 otherwise
Definition at line 92 of file tcp_conn.h.
| unsigned int content_len |
Definition at line 90 of file tcp_conn.h.
| enum tcp_req_errors error |
| unsigned short has_content_len |
1 if content_length was parsed ok
Definition at line 91 of file tcp_conn.h.
Definition at line 83 of file tcp_conn.h.
| char* parsed |
last parsed position
Definition at line 88 of file tcp_conn.h.
| char* pos |
| char* start |
where the message starts, after all the empty lines are skipped
Definition at line 86 of file tcp_conn.h.
| enum tcp_req_states state |
Definition at line 95 of file tcp_conn.h.
1.5.6